]> granicus.if.org Git - apache/commitdiff
Makes the 'canonical hostname' example a tiny bit more useful, in that it now works...
authorRich Bowen <rbowen@apache.org>
Tue, 25 Oct 2011 00:29:15 +0000 (00:29 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 25 Oct 2011 00:29:15 +0000 (00:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1188464 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/avoid.xml

index c16f598f745859c08eb6e13c192e453c7df689dd..71c284590e99bfed05aae5c50910cb6ecafec527 100644 (file)
@@ -220,7 +220,7 @@ hostname, such as <code>www.example.com</code> instead of
 module="core" type="section">If</directive> directive, as shown here:</p>
 
 <example>
-&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;
 </example>