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

SiteAccess match on non-master Platform.sh environments

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Invalid
    • Icon: High High
    • None
    • 2.5.0-rc2
    • eZ Platform Cloud
    • None

    Description

      You have eZ Platform project with multiple siteaccess, which runs on Platform.sh:

      • en.site.com (en siteaccess) (default siteaccess)
      • fr.site.com (fr siteaccess)

      When you create a stage (or any other) environment for this project on Platform.sh, following URLs will be assigned to created env:

      • en—site—com—%ENV%%REGION%%PLATFORM_PROJECT_ID%.us.platform.sh
        *fr—site—com—%ENV%%REGION%%PLATFORM_PROJECT_ID%.us.platform.sh
        And those URLs will not be mapped to any siteaccess, so default one will be used for each of that stage env URLs. It means fr—site—com—%ENV%%REGION%%PLATFORM_PROJECT_ID%.us.platform.sh will open “en” (but not “fr”) siteaccess.

      You can manually modify stage env siteaccess match parameters. Which might be a huge pain if there are tons of siteaccesses in your project.

      Also, you can install https://packagist.org/packages/contextualcode/platformsh-siteaccess-matcher-bundle

      Attachments

        Activity

          People

            Unassigned Unassigned
            l0rdj l0rdj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: