Apache 2.4.38 on Windows
We are just about to start using a new content management system, Enonic, hosted in the cloud. I am now trying to configure an internal alias for the test instance to point to the instance in the cloud. This is quite straight forward using proxypass/proxypassrevers
ProxyPass "/" "https://xptest.enonic.cloud/wwwt/"
ProxyPassReverse "/" "https://xptest.enonic.cloud/wwwt/"
Problem is that there are several sites on the instance https://xptest.enonic.cloud and therefore we cannot expose the site using the root / - therefore www is added. Problem is that the CMS adds www as a prefix for all relative url's created by the cms. Meaning https://wwwt.mycorp.com/wwwt/corporate, but wwwt should not be there, it should be https://wwwt.mycorp.com/corporate
I did try this serverfault.com:Apache URL rewriting in reverse proxy but no luck either, urls still contains the /wwwt/
Any ideas on how to get around this issue?