On Wed, Jan 2, 2013 at 7:51 AM,  <[email protected]> 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.

Reply via email to