From: Eric Covener Date: Wed, 5 Jun 2013 15:19:10 +0000 (+0000) Subject: xforms for AllowAnyURI X-Git-Tag: 2.0.65~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d013d982889474fb9ff7d4f79d56b970443f7e07;p=thirdparty%2Fapache%2Fhttpd.git xforms for AllowAnyURI git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@1489912 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en index 13e0923fe7d..c0bf0633dca 100644 --- a/docs/manual/mod/mod_rewrite.html.en +++ b/docs/manual/mod/mod_rewrite.html.en @@ -1134,8 +1134,47 @@ later responds with an 500 Internal Server Error. If you really need more internal redirects than 10 per request, you may increase the default to the desired value. + +
AllowAnyURI
+
+ +

When RewriteRule + is used in VirtualHost or server context with + version 2.0.65 or later of httpd, mod_rewrite + will only process the rewrite rules if the request URI is a URL-path. This avoids + some security issues where particular rules could allow + "surprising" pattern expansions (see CVE-2011-3368 + and CVE-2011-4317). + To lift the restriction on matching a URL-path, the + AllowAnyURI option can be enabled, and + mod_rewrite will apply the rule set to any + request URI string, regardless of whether that string matches + the URL-path grammar required by the HTTP specification.

+ +
+

Security Warning

+ +

Enabling this option will make the server vulnerable to + security issues if used with rewrite rules which are not + carefully authored. It is strongly recommended + that this option is not used. In particular, beware of input + strings containing the '@' character which could + change the interpretation of the transformed URI, as per the + above CVE names.

+
+
+ +
MergeBase
+
+ +

With this option, the value of RewriteBase is copied from where it's explicitly defined + into any sub-directory or sub-location that doesn't define its own + RewriteBase. + This flag is available for Apache HTTP Server 2.0.65 and later.

+
+
top

RewriteRule Directive