Details

    • Type: Bug Bug
    • Status: Open
    • Priority: High High
    • Resolution: Unresolved
    • Affects Version/s: 5.4.4.3, 2015.11
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      nginx,apache

      Description

      On a siteaccess mapped with domain access (at least), adding index.php causes failure of both application root and asset root.

      Example. http://www.example.com/ works fine, everything is loaded as expected, but with default server configurations (nginx, apache) requests to http://www.example.com/foobar/index.php lead to generating this:

      broken.html

      <link rel="stylesheet" type="text/css" href="/bar/bundles/examplesite/css/main.css"/>
      <script type="text/javascript">
         var siteData = {
             'rootLocation': '/bar/index.php/',
         }
      </script>
      

      The paths in the working applications (including pages not found are):

      working.html

      <link rel="stylesheet" type="text/css" href="/bundles/examplesite/css/main.css"/>
      <script type="text/javascript">
         var siteData = {
             'rootLocation': '/',
         }
      </script>
      

        Activity

        Hide
        Tyler Harms added a comment -

        Any traction on this? This seems to be a symfony "feature" that eZ doesn't account for (the feature being making mod_rewrite optional). Adding a fake url plus any php file resets the Request object's base uri to start after the .php, fooling eZ to think it should render the root location. eZ should throw a 404, but instead gives a 200 with broken assets everywhere.

        Show
        Tyler Harms added a comment - Any traction on this? This seems to be a symfony "feature" that eZ doesn't account for (the feature being making mod_rewrite optional). Adding a fake url plus any php file resets the Request object's base uri to start after the .php, fooling eZ to think it should render the root location. eZ should throw a 404, but instead gives a 200 with broken assets everywhere.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jani Tarvainen
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: