Skip to content

Instantly share code, notes, and snippets.

@jesusgoku
Created March 11, 2015 14:44
Show Gist options
  • Save jesusgoku/ec264b77bab9fba193bd to your computer and use it in GitHub Desktop.
Save jesusgoku/ec264b77bab9fba193bd to your computer and use it in GitHub Desktop.
Example to config a Virtual Host for Symfony2 project
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot "C:\xampp\htdocs\site"
ServerName site.com
ServerAlias www.site.com
DirectoryIndex app.php index.php index.html
<Directory "C:\xampp\htdocs\site">
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment