Last active
August 29, 2015 14:01
-
-
Save mykiwi/a959ad028d9b9a0d701f to your computer and use it in GitHub Desktop.
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
NameVirtualHost *:80 | |
<VirtualHost *:80> | |
ServerName {{ hostname }} | |
DocumentRoot {{ application.root_path }}/web | |
DirectoryIndex app.php | |
RewriteEngine off | |
<Location /> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} -f | |
RewriteRule ^.*$ - [NC,L] | |
RewriteRule ^.*$ /app.php [NC,L] | |
</Location> | |
<Directory "{{ application.root_path }}/web"> | |
Allow from all | |
AllowOverride None | |
</Directory> | |
</VirtualHost> |
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
NameVirtualHost *:80 | |
<VirtualHost *:80> | |
ServerName {{ hostname }} | |
DocumentRoot {{ application.root_path }}/web | |
DirectoryIndex app.php | |
RewriteEngine off | |
<Location /> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} -f | |
RewriteRule ^.*$ - [NC,L] | |
RewriteRule ^.*$ /app.php [NC,L] | |
</Location> | |
<Directory "{{ application.root_path }}/web"> | |
Require all granted | |
AllowOverride None | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment