httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: new ProxyPass/ProxyPassReverse "feature" for 2.4??
Date Mon, 28 Mar 2011 19:53:52 GMT

On Mar 28, 2011, at 3:46 PM, William A. Rowe Jr. wrote:

> On 3/28/2011 2:08 PM, Jim Jagielski wrote:
>> Assuming
>> 
>> 	ProxyPass /foo http://www.example.com/foo
>> 
>> should ProxyPass automatically create the corresponding
>> ProxyPassReverse statement?
> 
> No.  The right logic is to not use the ProxyPassReverse mapping
> mechanics at all, they are horribly inefficient.
> 
> Note the prev / replace pair in the request during the initial
> ProxyPass match, and on the response side, instead of/in addition to
> looking in the ProxyPassReverse map, perform this one and only one
> remapping based on the noted replacement.
> 
> Perhaps ProxyPass needs a flag to say 'no, don't reverse this',
> but I sort of doubt it.
> 

Huh? So how do you propose taking care of handling
the Location redirects??

Mime
View raw message