Loading docs/manual/rewrite/avoid.html.en +1 −1 Original line number Diff line number Diff line Loading @@ -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"><If></a></code> directive, as shown here:</p> <div class="example"><p><code> <If "$req{Host} = 'example.com'"><br /> <If "$req{Host} != 'www.example.com'"><br /> RedirectMatch (.*) http://www.example.com$1<br /> </If> </code></p></div> Loading Loading
docs/manual/rewrite/avoid.html.en +1 −1 Original line number Diff line number Diff line Loading @@ -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"><If></a></code> directive, as shown here:</p> <div class="example"><p><code> <If "$req{Host} = 'example.com'"><br /> <If "$req{Host} != 'www.example.com'"><br /> RedirectMatch (.*) http://www.example.com$1<br /> </If> </code></p></div> Loading