forked from twinbit/symfony-apache-virtualhost-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
jakuza/symfony-apache-virtualhost-generator
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Usage: host:create [-a|--alias[="..."]] [-e|--email[="..."]] [-p|--port[="..."]] [-u|--user[="..."]] [-ap|--apachepath[="..."]] domain ip [path] Arguments: domain Application domain ip Apache host ip path Filesytem path (default: /tmp) Options: --alias (-a) Apache domain Alias --email (-e) Apache administrator email --port (-p) Apache host port (default: 80) --user (-u) File system (apache) user/group (default: www-data) --apachepath (-ap) Apache sites path (default: /etc/apache2/sites-available) Example: paolo ~/webapps/twinbit/scripts/CliVirtualhost $ ./virtualhost host:create test.com 127.0.0.1 -u paolo Created: /tmp/test.com/web (owner: paolo) Created: /tmp/test.com/etc/logrotate.d (owner: paolo) Created: /tmp/test.com/logs (owner: paolo) <VirtualHost 127.0.0.1:80> ServerName test.com ServerAlias www.test.com DocumentRoot /tmp/test.com/web ErrorLog /tmp/test.com/logs/error.log CustomLog /tmp/test.com/logs/access.log combined <Directory "/tmp/test.com/web"> AllowOverride All Options FollowSymLinks </Directory> </VirtualHost>
About
Symfony Based (Console component + Autoloader) Apache virtualhost generator
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 100.0%