I have a config and actually only want to allow access to a specific path xxx
of the proxied host nothing else. However that path on the proxied host is
refering to files eg in the root
ProxyPreserveHost Off
ProxyAddHeaders On
SetOutputFilter proxy-html
ProxyHTMLEnable On
ProxyHTMLExtended On
ProxyPass "https://${proxyhost}/xxx"
ProxyPassReverse "https://${proxyhost}/xxx"
ProxyHTMLURLMap https://${proxyhost}/xxx https://${defaulthost}/aaa
I have such references to the proxied host in the website pages, links suchs as
these:
<script src="https://proxyhost/js/"></script><script
src="https://proxyhost/js/....s"></script><script
src="https://proxyhost/js/.....js"></script><script
src="https://proxyhost/js/..js"></script><script
src="https://proxyhost/js/l....js"></script><script
src="https://proxyhost/js/...."></script>
Any ideas what what would be a good method to handle these exceptions outside
of the xxx path?