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
- causes
-
HSTTWO-2286 Backport to 7.7: Regression: ComponentRepresentation includes context path in iconURL for mount without a context path
- Closed
- relates to
-
HSTTWO-2245 Channelmanager always includes the contextpath when accessing site
- Closed