httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 63051] RewriteRule in <if> section ignored (using multiple <if> sections)
Date Tue, 29 Jan 2019 15:18:45 GMT

--- Comment #2 from Luca Toscano <> ---
More precise answer - the mod_rewrite's default when merging in directory
context (and <If> is part of it) is to override what defined unless explicitly
configured not to do so (with RewriteOptions Inherit for example).

In the example of the two <If>s the "aaa" rewrite gets overridden by the "bbb"
one when the first <If> section is merged into the second one.

RedirectMatch belongs to mod_alias, and as far as I can see the default
behavior is to append, not override.

I'll update the docs to reflect this example :)

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message