You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2004/04/26 22:55:33 UTC
cvs commit: httpd-2.0/docs/manual/misc rewriteguide.html.en
rbowen 2004/04/26 13:55:33
Modified: docs/manual/misc Tag: APACHE_2_0_BRANCH rewriteguide.html.en
Log:
Example works better with URI
Revision Changes Path
No revision
No revision
1.4.2.8 +3 -3 httpd-2.0/docs/manual/misc/rewriteguide.html.en
Index: rewriteguide.html.en
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/misc/rewriteguide.html.en,v
retrieving revision 1.4.2.7
retrieving revision 1.4.2.8
diff -u -r1.4.2.7 -r1.4.2.8
--- rewriteguide.html.en 21 Feb 2004 00:37:46 -0000 1.4.2.7
+++ rewriteguide.html.en 26 Apr 2004 20:55:33 -0000 1.4.2.8
@@ -1744,10 +1744,10 @@
# 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