Created
February 12, 2013 22:31
-
-
Save Aeon/4774083 to your computer and use it in GitHub Desktop.
sample httpd-vhost.conf
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
# | |
# Use name-based virtual hosting. | |
# | |
NameVirtualHost *:80 | |
NameVirtualHost *:81 | |
<VirtualHost *:81> | |
# optional | |
# ServerName myproject.dev | |
DocumentRoot "/Users/me/Sites/myproject/" | |
ErrorLog "/Users/me/Sites/myproject/log/apache-error_log" | |
CustomLog "/Users/me/Sites/myproject/log/apache-access_log" common | |
<Directory "/Users/me/Sites/myproject/"> | |
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