Skip to content

Instantly share code, notes, and snippets.

@cirpo
Forked from fabiofabbrucci/gist:1638978
Created January 19, 2012 09:37
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 cirpo/1638980 to your computer and use it in GitHub Desktop.
Save cirpo/1638980 to your computer and use it in GitHub Desktop.
Vhost syfony2
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot "/var/www/Symfony/web/"
ServerName symfony
<Directory "/var/www/Symfony/web/">
Options ExecCGI FollowSymLinks Includes MultiViews
AllowOverride All
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/symfony.error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel notice
CustomLog ${APACHE_LOG_DIR}/symfony.access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment