a2_vhost
Installs php and apache and sends a config file
-
takes the following options:
- -s servername
-
required will be used as default for the vhost’s name, and servername option
- -e
-
if specified enables the vhost (sites-enabled)
- -r /document/root
-
path to the document root, if not specified defaults to /var/www/$servername/
- -i index.ext
-
Index option defaults to index.html
- -t path/to/template.tpl
-
vhost template to use. do no use with -c
- -c path/to/a/config.file
-
vhost config, coming ie from a private repository