Skip to content

Instantly share code, notes, and snippets.

@max107
Created July 14, 2014 13:14
Show Gist options
  • Select an option

  • Save max107/4b2068269ec234cafeaa to your computer and use it in GitHub Desktop.

Select an option

Save max107/4b2068269ec234cafeaa to your computer and use it in GitHub Desktop.
<VirtualHost 127.0.0.1:81>
DocumentRoot "/absolute/path/to/project/www"
DirectoryIndex index.php
ServerAdmin [email protected]
ServerAlias test.dev
ErrorLog "/absolute/path/to/project/logs/apache-error.log"
CustomLog "/absolute/path/to/project/logs/apache-access.log" common
<Directory "/absolute/path/to/project/www">
Options +ExecCGI FollowSymLinks +SymLinksIfOwnerMatch
AllowOverride All
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment