Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
2.5.27, 3.3.14
-
None
-
eZ Platform Enterprise
-
Yes
Description
This line below in the default vhost template fails and causes 404 redirection when you call for instance: domaine/foo/bar/index.php
See here: https://htaccess.madewithlove.com/?share=b388abe1-c5a5-42f7-b89d-74f8fccbe983
Rule in doc:
https://github.com/ezsystems/ezplatform/blob/master/doc/apache2/vhost.template#L102
Expectation:
RewriteRule ^/([^/]+/)?index\.php([/?#]|$) - [R=404,L]
should be replaced by
RewriteRule ^.*/index\.php([/?#]|$) - [R=404,L]