Commit 7de1d720 authored by Richard Bowen's avatar Richard Bowen
Browse files

Example works better with URI

parent c5f4b476
Loading
Loading
Loading
Loading
+3 −3
Changes for docs/manual/misc/rewriteguide.html.en: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -1744,10 +1744,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