Skip to content

Instantly share code, notes, and snippets.

@hsablonniere
Last active December 17, 2015 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hsablonniere/5523802 to your computer and use it in GitHub Desktop.
Save hsablonniere/5523802 to your computer and use it in GitHub Desktop.
Listen 9999
NameVirtualHost *:9999
<VirtualHost *:9999>
ServerName *
DocumentRoot /path/to/project/web
ErrorLog /path/to/project/app/logs/apache.error.log
CustomLog /path/to/project/app/logs/apache.access.log common
php_flag log_errors on
php_flag display_errors on
php_value error_reporting 30719
php_value error_log /path/to/project/app/logs/php.error.log
<Directory /path/to/project/web>
DirectoryIndex app.php
Options Indexes FollowSymLinks
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