On Tue, Mar 15, 2016 at 7:22 AM, Evgeny Kotkov
wrote:
> This is PR 50447 [1], and the issue was fixed for per-directory contexts in
> r1044673 [2]. However, RewriteRules in server context are handled differently
> in mod_rewrite, and their handling wasn't updated.
This patch fixes a problem in mod_rewrite. The following config with the
RewriteRule in per-directory context works fine for query strings:
RewriteEngine On
RewriteRule ^foo http://hostname/bar [R=301,L]
But the same RewriteRule in per-server context doesn't work: