Created
April 16, 2014 07:57
-
-
Save beije/c1ec8416a38b6dc517c6 to your computer and use it in GitHub Desktop.
VirtualHost multiple dev environments
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 webmaster@localhost | |
VirtualDocumentRoot "/var/www/%0" | |
ServerName localhost | |
ServerAlias * | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
LogLevel debug | |
<Directory /var/www> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment