httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 63051] RewriteRule in <if> section ignored (using multiple <if> sections)
Date Tue, 29 Jan 2019 15:18:45 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=63051

--- Comment #2 from Luca Toscano <toscano.luca@gmail.com> ---
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message