httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Axel-Stephane SMORGRAV" <Axel-Stephane.SMORG...@europe.adp.com>
Subject RE: mod_serf is in trunk
Date Tue, 13 Nov 2007 13:55:38 GMT

----Message d'origine-----
> De : Paul Querna [mailto:chip@force-elite.com] 
> Envoyé : mardi 13 novembre 2007 05:34
> À : dev@httpd.apache.org
> Objet : mod_serf is in trunk
> 
> I've added mod_serf in r594425:
> http://svn.apache.org/viewvc?view=rev&revision=594425
> 
> I've grown exceptionally... tired of looking at mod_proxy.  mod_serf is nice and tight
at 440 lines or so.
> 
> With just a little more work, I think it could be a production level reverse proxy.
> 
> Oh yeah, and death to ProxyPass, ProxyPassMatch and all similar directives that should
just go inside Location Blocks.  mod_serf will put everything inside a location block like
this:
> 
> <Location /foo>
>   SerfPass http://www.exmaple.com/
>   SerfPreseveHost On
>   SerfReversePass off
>   SerfTimeout 5
> </Location>
> 
> So no more semi-global configurations options like mod_proxy has.
> 
> Thoughts?


Just out of curiosity, how would you do this with mod_serf:

ProxyPass /foo http://127.0.0.1/
ProxyPassReverse  /foo http://127.0.0.1/
ProxyPassReverse /foo http://localhost/

-ascs

Mime
View raw message