Skip to content

Instantly share code, notes, and snippets.

@morontt
Created March 25, 2015 09:05
Show Gist options
  • Select an option

  • Save morontt/0a9d9051412030fffb0b to your computer and use it in GitHub Desktop.

Select an option

Save morontt/0a9d9051412030fffb0b to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerName example.loc
ServerAlias www.example.com
DocumentRoot "/path/to/httpdocs/web"
ErrorLog "/path/to/logs/error.log"
CustomLog "/path/to/logs/access.log" common
<Directory "/path/to/httpdocs/web">
DirectoryIndex index.php index.html
Options FollowSymLinks
AllowOverride All
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment