Created
March 3, 2015 13:32
-
-
Save florentdestremau/59fe3568ca72943aece5 to your computer and use it in GitHub Desktop.
VirtualHost for sf2 apache 2.4+
This file contains hidden or 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> | |
ServerName domain.tld | |
ServerAlias www.domain.tld | |
DocumentRoot /var/www/project/web | |
<Directory /var/www/project/web> | |
# enable the .htaccess rewrites | |
AllowOverride All | |
Require all granted | |
</Directory> | |
ErrorLog /var/log/apache2/error.log | |
CustomLog /var/log/apache2/access.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment