Commit c5f4b476 authored by Richard Bowen's avatar Richard Bowen
Browse files

Examples work better with REQUEST_URI

parent b8d94408
Loading
Loading
Loading
Loading
+4 −4
Changes for docs/manual/misc/rewriteguide.xml: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
<?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