Summary: | RewriteBase inside FilesMatch behaves oddly | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | Jan Wolter <jan> |
Component: | mod_rewrite | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | NEW --- | ||
Severity: | minor | ||
Priority: | P2 | ||
Version: | 2.4.10 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Jan Wolter
2014-12-02 21:46:58 UTC
I had just looked at a related issue/limitation on trunk which as a result now requires RewriteBase to be explicitly specified less often, and as a bonus seems to fix this case even w/ a RewriteBase. Can you try a patch against 2.4.x? http://svn.apache.org/r1642484 In various places, mod_rewrite strips/readds/re-strips the current perdir prefix. In this case, even the original comparison in the rewriterule is wrong -- it's operating on the entire filename on-disk rather than whats normally just the "remainder". |