Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-27285

eZP acception web/index.php or web/app.php instead returning 404

    XMLWordPrintable

    Details

      Description

      eZP tries to serve your site with web/index.php or web/app.php instead returning a 404 error.

      It makes sense to have eZP accepting index.php and app.php files, since they exist in the in the documentroot of the site as described as vhost.template.

      But there's no web folder inside the documentroot, which is already the webroot itself so, if you call eZP with http://your-site.com/web/index.php, eZP should return a 404 not found error instead accepting the URL and rendering the content normally.

      Also, since the assets are not supposed to be used with the index.php file, eZP renders the content with web/index.php but all the css, javascript ans images files fail to load.

      Steps to reproduce
      1. Install eZP normally and open the frontend:
        http://your-site.com
      2. Add web/index.php to the base URL:
        http://your-site.com/web/index.php

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: