File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,7 @@ and increase web server performance:
7979 Order Allow,Deny
8080 Allow from All
8181
82- <IfModule mod_rewrite.c>
83- Options -MultiViews
84- RewriteEngine On
85- RewriteCond %{REQUEST_FILENAME} !-f
86- RewriteRule ^(.*)$ app.php [QSA,L]
87- </IfModule>
82+ FallbackResource /app.php
8883 </Directory>
8984
9085 # uncomment the following lines if you install assets as symlinks
@@ -93,13 +88,11 @@ and increase web server performance:
9388 # Options FollowSymlinks
9489 # </Directory>
9590
96- # optionally disable the RewriteEngine for the asset directories
97- # which will allow apache to simply reply with a 404 when files are
98- # not found instead of passing the request into the full symfony stack
91+ # optionally disable the fallback resource for the asset directories
92+ # which will allow Apache to return a 404 error when files are
93+ # not found instead of passing the request to Symfony
9994 <Directory /var/www/project/web/bundles>
100- <IfModule mod_rewrite.c>
101- RewriteEngine Off
102- </IfModule>
95+ FallbackResource disabled
10396 </Directory>
10497 ErrorLog /var/log/apache2/project_error.log
10598 CustomLog /var/log/apache2/project_access.log combined
You can’t perform that action at this time.
0 commit comments