]> granicus.if.org Git - apache/commitdiff
Rebuild HTML
authorRich Bowen <rbowen@apache.org>
Tue, 25 Oct 2011 00:58:11 +0000 (00:58 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 25 Oct 2011 00:58:11 +0000 (00:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1188474 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/avoid.html.en

index c08903fbca7edfed5d3089ae3f679bbcc778f529..7fe0a700e343d4c935cc520e4bb37e045469ad66 100644 (file)
@@ -205,7 +205,7 @@ hostname, such as <code>www.example.com</code> instead of
 <code>example.com</code>. This can be done using the <code class="directive"><a href="../mod/core.html#if">&lt;If&gt;</a></code> directive, as shown here:</p>
 
 <div class="example"><p><code>
-&lt;If "$req{Host} = 'example.com'"&gt;<br />
+&lt;If "$req{Host} != 'www.example.com'"&gt;<br />
 RedirectMatch (.*) http://www.example.com$1<br />
 &lt;/If&gt;
 </code></p></div>