perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Pettett <...@sanger.ac.uk>
Subject Re: how to make mod_perl actually run fast
Date Wed, 05 Dec 2001 14:27:55 GMT

I never managed to get ProxyPass & ProxyPassReverse to work properly
with farms of machines at the backend. :P

R.

On Wed, 5 Dec 2001 lesmikesell@attbi.com wrote:

> >My module now adds
> > X-Forwarded-For: remote.address    # remote address of 
> client
> > X-Host: www.glurp.com              # real virtualhost 
> address
> > 
> > The reason I used the X-Host header was to avoid
> > missing-trailing-slash requests coming back to the 
> client with the wrong
> > (/etc/hosts aliased) virtualhost in the Location: 
> response header.
> 
> Note that Apache will fix the redirects for you if you
> use the ProxyPassReverse directive regardless of whether
> the proxy action was done from a ProxyPass or a
> RewriteRule.  You just need a ProxyPassReverse entry
> to match any of the targets that the rewrite can
> generate.
> 
>    Les Mikesell
>        lesmikesell@attbi.com
> 

-- 
+---------------------------------------------------------------+
 Roger Michael Pettett             Email: rmp@sanger.ac.uk
 Senior Web Developer,             Web: http://www.sanger.ac.uk/
 The Sanger Institute
 Wellcome Trust Genome Campus
 Hinxton                       
 Cambridge CB10 1SA
+---------------------------------------------------------------+


Mime
View raw message