You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 27, 2020. It is now read-only.
minor #784 Disabled MultiViews in .htaccess (florianv)
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes#784).
Discussion
----------
Disabled MultiViews in .htaccess
The `MultiViews` option enables Apache to negotiate and serve existing files depending on the request Accept header. For example `/config/test` will resolve to `/config.php/test` when accepting `text/html`.
So it prevents from using route paths beginning with the name of a file present in the `/web` folder. Moreover, this option is not needed because all requests that don't match an existing file are meant to pass through the Symfony front controller.
So this PR removes this option from the `.htaccess`. Note that it is enabled in the default Apache configuration on Ubuntu.
This issue was also a topic here symfony/symfony-docs#3674
Commits
-------
080f0ba Disabled MultiViews in .htaccess
0 commit comments