]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
%{REQUEST_URL} is now %{REQUEST_URI}, and has been for quite some time.
authorRich Bowen <rbowen@apache.org>
Tue, 17 Mar 2009 18:12:29 +0000 (18:12 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 17 Mar 2009 18:12:29 +0000 (18:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@755338 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/misc/rewriteguide.html.en
docs/manual/misc/rewriteguide.xml

index 76071cc209870de8a0d14690658e3b92f8ddc68f..532739454e982b479426afbc66bbcf2a72461395 100644 (file)
@@ -1753,10 +1753,10 @@ RewriteMap    vhost        txt:/path/to/vhost.map
 #   via a huge and complicated single rule:
 #
 #   1. make sure we don't map for common locations
-RewriteCond   %{REQUEST_URL}  !^/commonurl1/.*
-RewriteCond   %{REQUEST_URL}  !^/commonurl2/.*
+RewriteCond   %{REQUEST_URI}  !^/commonurl1/.*
+RewriteCond   %{REQUEST_URI}  !^/commonurl2/.*
     :
-RewriteCond   %{REQUEST_URL}  !^/commonurlN/.*
+RewriteCond   %{REQUEST_URI}  !^/commonurlN/.*
 #
 #   2. make sure we have a Host header, because
 #      currently our approach only supports
index 57e8602675498d6b5bd82697892bc4a6c81254e0..f1fa5027a5feddd6fe29c505ff9b4f144051678f 100644 (file)
@@ -1756,10 +1756,10 @@ RewriteMap    vhost        txt:/path/to/vhost.map
 #   via a huge and complicated single rule:
 #
 #   1. make sure we don't map for common locations
-RewriteCond   %{REQUEST_URL}  !^/commonurl1/.*
-RewriteCond   %{REQUEST_URL}  !^/commonurl2/.*
+RewriteCond   %{REQUEST_URI}  !^/commonurl1/.*
+RewriteCond   %{REQUEST_URI}  !^/commonurl2/.*
     :
-RewriteCond   %{REQUEST_URL}  !^/commonurlN/.*
+RewriteCond   %{REQUEST_URI}  !^/commonurlN/.*
 #
 #   2. make sure we have a Host header, because
 #      currently our approach only supports