You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2011/01/14 21:57:26 UTC
svn commit: r1059164 -
/httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
Author: rbowen
Date: Fri Jan 14 20:57:26 2011
New Revision: 1059164
URL: http://svn.apache.org/viewvc?rev=1059164&view=rev
Log:
Rebuild HTML
Modified:
httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
Modified: httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en?rev=1059164&r1=1059163&r2=1059164&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en Fri Jan 14 20:57:26 2011
@@ -275,14 +275,22 @@ but rather uses the <code class="directi
directive placed in a virtual host for the non-canonical
hostname(s).</p>
-<div class="example"><pre>
-<VirtualHost *:80>
- ServerName undesired.example.com
- ServerAlias example.com notthis.example.com
-
- Redirect / http://www.example.com/
+<div class="example"><p><code>
+<VirtualHost *:80><br />
+<span class="indent">
+ ServerName undesired.example.com<br />
+ ServerAlias example.com notthis.example.com<br />
+<br />
+ Redirect / http://www.example.com/<br />
+</span>
+</VirtualHost><br />
+<br />
+<VirtualHost *:80><br />
+<span class="indent">
+ ServerName www.example.com<br />
+</span>
</VirtualHost>
-</pre></div>
+</code></p></div>
<p>You can alternatively accomplish this using the
<code class="directive"><a href="../mod/core.html#if"><If></a></code>