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.

Reply via email to