Skip to content

Instantly share code, notes, and snippets.

@tristanbes
Created August 5, 2012 14:25
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 tristanbes/8458118ed27ce6f86801 to your computer and use it in GitHub Desktop.
Save tristanbes/8458118ed27ce6f86801 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName www.mywebsite.com
DocumentRoot /var/www/mywebsite/current/web
DirectoryIndex app.php
<Directory "/var/www/mywebsite/current/web">
Options -Indexes FollowSymLinks SymLinksifOwnerMatch
AllowOverride All
Allow from All
</Directory>
CustomLog /var/log/apache2/mywebsite-access.log combined
ErrorLog /var/log/apache2/mywebsite-error.log
ServerSignature Off
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment