Skip to content

Instantly share code, notes, and snippets.

@marcuslilja
Last active August 29, 2015 13:57
Show Gist options
  • Save marcuslilja/9818351 to your computer and use it in GitHub Desktop.
Save marcuslilja/9818351 to your computer and use it in GitHub Desktop.
Apache Virtual Host Config
<VirtualHost *:80>
DocumentRoot "<path-to-project>"
ServerName <site-name>.dev
ServerAlias *.<site-name>.dev
ErrorLog "/private/var/log/apache2/<site-name>.dev-error_log"
CustomLog "/private/var/log/apache2/<site-name>.dev-access_log" common
<Directory "<path-to-project>">
Options -Indexes +FollowSymLinks
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