Created
June 3, 2014 21:21
-
-
Save mattgrill/a0a05b0fb29a90c75ae7 to your computer and use it in GitHub Desktop.
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
Listen 80 | |
# Use name-based virtual hosting. | |
NameVirtualHost *:80 | |
UseCanonicalName Off | |
LogFormat "%V %h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"" dynamic_vhosts | |
CustomLog /var/log/apache2/access_log dynamic_vhosts | |
<VirtualHost *:80> | |
ServerName localhost | |
VirtualDocumentRoot /Users/mgrill/Sites/%0 | |
<Directory "/Users/mgrill/Sites"> | |
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