diff --git a/setup/web_server_configuration.rst b/setup/web_server_configuration.rst index 43d20495173..3eed77853ad 100644 --- a/setup/web_server_configuration.rst +++ b/setup/web_server_configuration.rst @@ -79,12 +79,7 @@ and increase web server performance: Order Allow,Deny Allow from All - - Options -MultiViews - RewriteEngine On - RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule ^(.*)$ app.php [QSA,L] - + FallbackResource /app.php # uncomment the following lines if you install assets as symlinks @@ -93,13 +88,11 @@ and increase web server performance: # Options FollowSymlinks # - # optionally disable the RewriteEngine for the asset directories - # which will allow apache to simply reply with a 404 when files are - # not found instead of passing the request into the full symfony stack + # optionally disable the fallback resource for the asset directories + # which will allow Apache to return a 404 error when files are + # not found instead of passing the request to Symfony - - RewriteEngine Off - + FallbackResource disabled ErrorLog /var/log/apache2/project_error.log CustomLog /var/log/apache2/project_access.log combined