Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-2246

When within the current session the site has been accessed in the channelmanager, the contextpath keeps being included.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.24.07, 2.25.05
    • None

    Description

      Reproduction path:

      • Configure the site and cms to run on a single domain, so the session will be shared. Strip the contextpath of the site, though. See [0] for an example Apache vhost.
      • Set hst:showcontextpath & hst:showport to false on the hst virtualhost
      • Check the site to confirm that the context path does not appear in the generated links
      • Open the site in the channelmanager (Note it will access the site using the contextpath, even if not necessary, see HSTTWO-2245)
      • Open the site outside of the CMS context, but in the same browser (i.e. with the same session)

      Expected: links do not include the context path
      Actual result: all links include the context path

      [0] <VirtualHost *:80>
      ServerName localhost

      ProxyPreserveHost On

      ProxyPass /cms/ http://localhost:8080/cms/
      ProxyPassReverse /cms/ http://localhost:8080/cms/

      ProxyPass /site/ http://localhost:8080/site/
      ProxyPassReverse /site/ http://localhost:8080/site/

      ProxyPass / http://localhost:8080/site/
      ProxyPassReverse / http://localhost:8080/site/
      ProxyPassReverseCookiePath /site /
      </VirtualHost>

      Attachments

        Issue Links

          Activity

            People

              svoortman Simon Voortman (Inactive)
              boudekerk Bartosz Oudekerk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: