Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-2252

Default vhost template has a Rewrite rule that fails and causes 404 error

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • Customer request
    • 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]

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              lionel.akpagni@ibexa.co Lionel Akpagni
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: