httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [Bug 54319] New: ProxyPass has no effect in <Location> if rewrite occurs
Date Wed, 02 Jan 2013 13:28:34 GMT
On Wed, Jan 2, 2013 at 7:51 AM,  <sebastien.allamand@orange.com> wrote:
> Hi,
>
> In fact our problem is not in mod_rewrite usage but in the fact that proxypass don't
work anymore if we use it in Location section.
>
> We have our own module that dynamically modify the incoming request that we will forward
to different backend depending on our own conditions.
>
> To do that we modify the uri and match it with expected location section.
>
> But this don't works anymore in 2.4..

Apache manages per-request configuration for modules based on the
nested set of <VirtualHost>, <Directory>, <Location>, <If> etc.  that
match the incoming request.

If mod_rewrite or your own custom module just changes the URI in place
after the configuration has been determined, it doesn't change the
per-request configuration.

mod_proxy in 2.2 doesn't properly use per-request configuration, and
crawls through every ProxyPass every time.

Your module could send an internal redirect if it wanted the
per-request configuration to reflect the new URL.

Mime
View raw message