Last active
August 29, 2015 14:02
-
-
Save Temaruk/4fca2a92f02903c698e0 to your computer and use it in GitHub Desktop.
Apache mass vhost template.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin fake@mail.com | |
ServerName example.dev | |
ServerAlias *.dev | |
DocumentRoot /var/www/mamp | |
VirtualDocumentRoot /var/www/mamp/%1/ | |
UseCanonicalName Off | |
<Directory /var/www/mamp/*> | |
Options FollowSymLinks MultiViews | |
AllowOverride All | |
Order allow,deny | |
allow from all | |
</Directory> | |
ErrorLog /var/www/logs/error.log | |
LogLevel warn | |
CustomLog /var/www/logs/access.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment