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

URLs with index.php resolving wrong

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: 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>
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: