On Mon, 17 Nov 2008 13:38:21 +0100Where's the hardcoded server in that? The reverse proxy's role
Bocalinda <bocalinda@xxxxxxxxx> 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.
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@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx