tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: [proxy] New implementation ready for testing
Date Mon, 16 Aug 2004 12:44:27 GMT
Pier Fumagalli wrote:

> What's wrong with:
> 
> ProxyPassReverse / http://localhost:8888/
> ProxyPreserveHost On
> RewriteMap hosts rnd:/opt/apache/conf/tables/hosts.map
> RewriteRule "^/(.*)" "${hosts:live}/$1" [P,L]

It isn't very elegant though. Someone who is well versed in mod_rewrite 
and regular expressions might find it really easy, but the rest of us 
mortals won't. :(

Regards,
Graham
--

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message