#!/bin/bash # # vhost-stack # https://git.stack-source.com/msb/vhost-stack # Copyright (c) 2022 Matthew Saunders Brown # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # load include file source $(dirname $0)/vhost.sh help() { thisfilename=$(basename -- "$0") echo "Enable Apache config for virtualhost." echo "" echo "usage: $thisfilename -d -m [-o ||] [-h]" echo "" echo " -h Print this help." echo " -d Domain name of VirtualHost to remove." echo " -m Name of Apache macro to apply." echo " -o