Created
March 11, 2015 14:44
-
-
Save jesusgoku/ec264b77bab9fba193bd to your computer and use it in GitHub Desktop.
Example to config a Virtual Host for Symfony2 project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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