]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Example works better with URI
authorRich Bowen <rbowen@apache.org>
Mon, 26 Apr 2004 20:55:33 +0000 (20:55 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 26 Apr 2004 20:55:33 +0000 (20:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@103534 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/misc/rewriteguide.html.en

index 807c2e8a7f6bf1dc3b7241ea842373298669b3e1..1aebcbe36a702245c3a0cdd62f234b7b2d3ef1a3 100644 (file)
@@ -1744,10 +1744,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