On Mon, 30 Oct 2000, Kermit Tensmeyer wrote:
>  ProxyPassReverse works as described and modifies
>  the Location header. Is there something else that
>  will filter/translate included URL's?
> 
>  For example
>    ProxyPass  /product/itemA/  
>                    http://modperl.internal.com/root/service/path/mason/
>    ProxyPass  /product/itemB/ 
>                     http://websphere.internal.com/content/product/information/
> 
>    ProxyPass  /customer/Service/  
>                     http://iis.internal.com/inetpub//ASP/customer/
> 
>  Will translate on the way in  and the equiv ProxyPassReverse 
> will modify the Location for the proxied pages going out. What 
> methods of others used on the Light Server to modify the urls
> generated by pages on the backend servers to resemble 
> http://external.server.com/product/itemB/faq.shtml ?

You need to either use relative URLs or make the back-end server generate
correct fully-qualified URLs that point to the front-end.  If the back-end
server is not under your control, you will have to use some kind of
search/replace on the front-end.  On a heavy traffic site this would most
likely need to be done as a hack to mod_proxy.  (Apache 2 will solve this
sort of problem using filter modules.)

- Perrin

Reply via email to