I am performing some reverse proxies on my apache server, but I'm running into some problems. I have a it proxying pages from another server which works fine with the following example:
ProxyPass /services/ http://www.server.com/services/
<Location /services/>
ProxyPassReverse /services/
ProxyHTMLEnable On
ProxyHTMLURLMap http://example.server.com/services /services/
ProxyHTMLURLMap /services/ /services/
</Location>
With this setup, pages from http://example.server.com/services are shown on http://www.server.com/services. The issue is that my virtual hosts are now being affected. So now pages from http://store.server.com/services are now pointing to the same proxied location, namely http://example.server.com/services.
Any idea on how to restrict the proxy so that proxied pages are only shown on www.server.com instead of all the virtual hosts like store.server.com?
Thanks!