www-modproxy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: Reverse Proxy
Date Thu, 30 Aug 2001 22:06:54 GMT
Mohamed Elashmawy wrote:

> I've used this rewrite-rule.
> It works fine but the problem is that images in the web pages on the web
> server (they have absolute links)
> doesn't appear.
> if u get the path of the image and paste it in internet explorer, you
> get a redirection to the proxy server but the image doesn't appear
> (i.e. redirection in the URL occurs but the image isn't fetched)

To make sure that redirects work properly you need to add the
ProxyPassReverse directive.

In fact, as a general rule all ProxyPass directives must have a
ProxyPassReverse directive like so:

ProxyPass /images/ http://backend.com/images/
ProxyPassReverse /images/ http://backend.com/images/

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."
Mime
View raw message