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:
79
79
Order Allow,Deny
80
80
Allow from All
81
81
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
88
83
</Directory>
89
84
90
85
# uncomment the following lines if you install assets as symlinks
@@ -93,13 +88,11 @@ and increase web server performance:
93
88
# Options FollowSymlinks
94
89
# </Directory>
95
90
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
99
94
<Directory /var/www/project/web/bundles>
100
- <IfModule mod_rewrite.c>
101
- RewriteEngine Off
102
- </IfModule>
95
+ FallbackResource disabled
103
96
</Directory>
104
97
ErrorLog /var/log/apache2/project_error.log
105
98
CustomLog /var/log/apache2/project_access.log combined
You can’t perform that action at this time.
0 commit comments