/Apache-Helper

Helper code for create new sites and change their default DocumentRoot.

Primary LanguageShell

Helper code for create new sites and change their default DocumentRoot "/var/www".

How to use:

to create a new site

bash apache.sh -c site_name /path/to/the/new/site/

to delete a site

bash apache.sh -d site_name

to enable a site

bash apache.sh -a site_name