Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-1629

SiteAccess Matching with Studio

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 1.10.0
    • Fix Version/s: None
    • Component/s: Studio UI

      Description

      Studio UI is not able to load SiteAccess correctly when they are on another hostname. In this situation you would go to the Landing Page, select a site access and it would block the UI.

      I think it is related to Sessions. Indeed on different hosts they would not be shared.

      I have got a workaround, I am letting the URIElement matching on my configuration and then I block the direct URI access in Varnish.

      But I should not have to do that.

      match:
                  URIElement: 1
                  Compound\LogicalAnd:
                      yuseoen:
                          matchers:
                              Map\URI:
                                  en: true
                              Map\Host:
                                  yuseo.group.dev: true
                          match: yuseoen
                      novafren:
                          matchers:
                              Map\URI:
                                  en: true
                              Map\Host:
                                  nova.group.dev: true
                          match: novafren
                  Map\Host:
                      yuseo.group.dev: yuseofr
                      nova.group.dev: novafrfr
                      novaus.group.dev: novaus
      

      That configuration works because of the URIElement:1, if you remove it, it fails the Studio UI.

      But the workaround is not enough, I need to add a server side configuration

      nova.group.dev/yuseofr would go on the yuseofr (which is wrong)

      Thank you!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              s.morel S├ębastien Morel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: