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:51:53 UTC

cvs commit: httpd-2.0/docs/manual/misc rewriteguide.xml

rbowen      2004/04/26 13:51:53

  Modified:    docs/manual/misc Tag: APACHE_2_0_BRANCH rewriteguide.xml
  Log:
  Examples work better with REQUEST_URI
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.4.2.10  +4 -4      httpd-2.0/docs/manual/misc/rewriteguide.xml
  
  Index: rewriteguide.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/misc/rewriteguide.xml,v
  retrieving revision 1.4.2.9
  retrieving revision 1.4.2.10
  diff -u -r1.4.2.9 -r1.4.2.10
  --- rewriteguide.xml	17 Apr 2004 18:33:25 -0000	1.4.2.9
  +++ rewriteguide.xml	26 Apr 2004 20:51:53 -0000	1.4.2.10
  @@ -1747,10 +1747,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