We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5331783 + 2a6dc36 commit 3d7838bCopy full SHA for 3d7838b
cookbook/configuration/web_server_configuration.rst
@@ -93,6 +93,14 @@ and increase web server performance:
93
# Options FollowSymlinks
94
# </Directory>
95
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
99
+ <Directory /var/www/project/web/bundles>
100
+ <IfModule mod_rewrite.c>
101
+ RewriteEngine Off
102
+ </IfModule>
103
+ </Directory>
104
ErrorLog /var/log/apache2/project_error.log
105
CustomLog /var/log/apache2/project_access.log combined
106
</VirtualHost>
0 commit comments