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 2009/03/17 19:12:29 UTC
svn commit: r755338 - in /httpd/httpd/branches/2.2.x/docs/manual/misc:
rewriteguide.html.en rewriteguide.xml
Author: rbowen
Date: Tue Mar 17 18:12:29 2009
New Revision: 755338
URL: http://svn.apache.org/viewvc?rev=755338&view=rev
Log:
%{REQUEST_URL} is now %{REQUEST_URI}, and has been for quite some time.
Modified:
httpd/httpd/branches/2.2.x/docs/manual/misc/rewriteguide.html.en
httpd/httpd/branches/2.2.x/docs/manual/misc/rewriteguide.xml
Modified: httpd/httpd/branches/2.2.x/docs/manual/misc/rewriteguide.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/misc/rewriteguide.html.en?rev=755338&r1=755337&r2=755338&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/misc/rewriteguide.html.en (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/misc/rewriteguide.html.en Tue Mar 17 18:12:29 2009
@@ -1753,10 +1753,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
Modified: httpd/httpd/branches/2.2.x/docs/manual/misc/rewriteguide.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/misc/rewriteguide.xml?rev=755338&r1=755337&r2=755338&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/misc/rewriteguide.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/misc/rewriteguide.xml Tue Mar 17 18:12:29 2009
@@ -1756,10 +1756,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