RE: proxy urlmapping outside of the path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> 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?

Is it correct that this does not work?

<LocationMatch /../xxxx>

    ProxyPass        "https://aaaa";
    ProxyPassReverse "https://aaaa";
</LocationMatch>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux