httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: "RewriteRule ... /$1" considered harmful
Date Mon, 02 May 2011 02:40:28 GMT
> - Create new directives RewriteToPath, RewriteToURL that don't do guessing.
> - Document clearly the problems that may be caused by the guessing
> behaviour of RewriteRule. Maybe even mark RewriteRule as deprecated in
> 2.4.
>

another one on users@, +1 to this approach and strong advice in the
manual to use one of the other flavors.

Rewriterule in per-server context could emit a once-per-restart
warning if it interprets a substitution as a filesystem path.  If it
triggers a 403 from <Directory /> inadvertently, it will precede the
"permission denied by server configuration" in the error log.

Mime
View raw message