Darn it took a while tracking this quirk down. I have global rewrite-rules defined in
RewriteRule ^.*wrong\.php$ http://example.net/void.html [R,L]
RewriteRule ^([X-Z])heRmaGerd[1-3]\.FOObAR$ /wherever/$1
It looks like (at least on 2.4.6) that
RewriteOptions inherit helps, placed either in
According to docs, this should only force VirtualHost to inherit rules from main server configuration, or in per-directory context to inherit parent directory's
.htaccess configuration, but I tested and it seems to resolve your issue.
Rules inherited from the parent scope are applied after rules specified in the child scope.