]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Examples work better with REQUEST_URI
authorRich Bowen <rbowen@apache.org>
Mon, 26 Apr 2004 20:51:53 +0000 (20:51 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 26 Apr 2004 20:51:53 +0000 (20:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@103533 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/misc/rewriteguide.xml

index be0fd737f6d8f0f639708efd13a9367951bdf3aa..0a95f4458f13af083b1a6e5441a5ae0980a61b5a 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
-<!-- $Revision: 1.4.2.9 $ -->
+<!-- $Revision: 1.4.2.10 $ -->
 
 <!--
  Copyright 2002-2004 The Apache Software Foundation
@@ -1747,10 +1747,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