httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] Rewrite relative image paths in a reversed proxy setup
Date Tue, 18 Nov 2008 14:39:01 GMT
On Mon, 17 Nov 2008 13:38:21 +0100
Bocalinda <bocalinda@gmail.com> wrote:

> <Location /SEDO>
>        ProxyPass balancer://mycluster1 stickysession=JSESSIONID
>        ProxyPassReverse /
>        SetOutputFilter proxy-html
>        ProxyHTMLURLMap (.*\.gif) http://172.18.0.39:8080/$1 Rie
> </Location>
> 
> This works, however, what I do not like is that I map the URLs to a
> hardcoded server. What if the Tomcat instance is down? Then my images
> won't be loaded.

Where's the hardcoded server in that?  The reverse proxy's role
is to map *away from* any hardcoded paths, *into* an address -
often a relative one - that resolves to the proxy.

The above looks wrong to me.


-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message