Commit 50e64784 authored by Eric Covener's avatar Eric Covener
Browse files

backport r1031038 from trunk:

    PR#47935 some people think s/except/unless makes this somewhat contrived RewriteCond example clearer.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1031041 13f79535-47bb-0310-9956-ffa450edef68
parent ed80c250
Loading
Loading
Loading
Loading
+1 −1
Changes for docs/manual/rewrite/rewrite_intro.html.en: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -254,7 +254,7 @@ one <code class="directive"><a href="../mod/mod_rewrite.html#rewritecond">Rewrit
specified, they must all match for
the <code class="directive"><a href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code> to be
applied. For example, to deny requests that contain the word "hack" in
their query string, except if they also contain a cookie containing
their query string, unless they also contain a cookie containing
the word "go", you could use:</p>
<div class="example"><p><code>
RewriteCond %{QUERY_STRING} hack<br />
+1 −1
Changes for docs/manual/rewrite/rewrite_intro.xml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -260,7 +260,7 @@ one <directive module="mod_rewrite">RewriteCond</directive> is
specified, they must all match for
the <directive module="mod_rewrite">RewriteRule</directive> to be
applied. For example, to deny requests that contain the word "hack" in
their query string, except if they also contain a cookie containing
their query string, unless they also contain a cookie containing
the word "go", you could use:</p>
<example>
RewriteCond %{QUERY_STRING} hack<br />