Created
July 19, 2012 20:41
-
-
Save lavoiesl/3146670 to your computer and use it in GitHub Desktop.
ServerAlias and VirtualDocumentRoot
This file contains hidden or 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 www@localhost | |
ServerName auto.local | |
ServerAlias *.local | |
ServerAlias *.*.local | |
UseCanonicalName Off | |
VirtualDocumentRoot /var/www/%-2/htdocs | |
ErrorLog "/var/log/apache2/auto-error_log" | |
CustomLog "/var/log/apache2/auto-access_log" common | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment