Skip to content

Instantly share code, notes, and snippets.

@kcjpop
Last active December 27, 2015 10:28
Show Gist options
  • Save kcjpop/7310943 to your computer and use it in GitHub Desktop.
Save kcjpop/7310943 to your computer and use it in GitHub Desktop.
Virtual Host configuration in Apache 2.4
<VirtualHost *:80>
ServerName cliffly.local
DirectoryIndex index.html index.php
DocumentRoot "/path/to/web"
<Directory "/path/to/web">
Order allow,deny
Allow from all
Require all granted
AllowOverride All
</Directory>
ErrorLog /path/to/web/error.log
CustomLog /path/to/web/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment