Commit 36b7fc32 authored by Richard Bowen's avatar Richard Bowen
Browse files

Makes the 'canonical hostname' example a tiny bit more useful, in that it now...

Makes the 'canonical hostname' example a tiny bit more useful, in that it now works for any number of hostnames, rather than just one.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1188464 13f79535-47bb-0310-9956-ffa450edef68
parent e70b9b2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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>