Skip to content

Instantly share code, notes, and snippets.

@robap
Created January 8, 2012 16:43
Show Gist options
  • Save robap/1578936 to your computer and use it in GitHub Desktop.
Save robap/1578936 to your computer and use it in GitHub Desktop.
apache virtual host file for symfony2 project on dev system
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName {HOST}
DocumentRoot /usr/development/{projName}/web
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /usr/development/{ProjName}/web>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
SetEnv APPLICATION_ENV dev
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment