httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r752951 - in /httpd/httpd/trunk/docs/manual/vhosts: ip-based.html.en ip-based.xml
Date Thu, 12 Mar 2009 17:52:51 GMT
Author: rbowen
Date: Thu Mar 12 17:52:51 2009
New Revision: 752951

URL: http://svn.apache.org/viewvc?rev=752951&view=rev
Log:
It's a pet peeve of mine when docs do something, and then say "don't do that." 
Remove the hostname from the <VirtualHost> line, and use an IP address
instead.

Modified:
    httpd/httpd/trunk/docs/manual/vhosts/ip-based.html.en
    httpd/httpd/trunk/docs/manual/vhosts/ip-based.xml

Modified: httpd/httpd/trunk/docs/manual/vhosts/ip-based.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/vhosts/ip-based.html.en?rev=752951&r1=752950&r2=752951&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/vhosts/ip-based.html.en (original)
+++ httpd/httpd/trunk/docs/manual/vhosts/ip-based.html.en Thu Mar 12 17:52:51 2009
@@ -113,7 +113,7 @@
     host. e.g.</p>
 
     <div class="example"><p><code>
-    &lt;VirtualHost www.smallco.com&gt;<br />
+    &lt;VirtualHost 172.20.30.40:80&gt;<br />
     ServerAdmin webmaster@mail.smallco.com<br />
     DocumentRoot /groups/smallco/www<br />
     ServerName www.smallco.com<br />
@@ -121,7 +121,7 @@
     TransferLog /groups/smallco/logs/access_log<br />
     &lt;/VirtualHost&gt;<br />
     <br />
-    &lt;VirtualHost www.baygroup.org&gt;<br />
+    &lt;VirtualHost 172.20.30.50:80&gt;<br />
     ServerAdmin webmaster@mail.baygroup.org<br />
     DocumentRoot /groups/baygroup/www<br />
     ServerName www.baygroup.org<br />
@@ -131,7 +131,8 @@
     </code></p></div>
 
     <p>It is recommended that you use an IP address instead of a
-    hostname (see <a href="../dns-caveats.html">DNS caveats</a>).</p>
+    hostname in the &lt;VirtualHost&gt; directive
+    (see <a href="../dns-caveats.html">DNS caveats</a>).</p>
 
     <p>Almost <strong>any</strong> configuration directive can be
     put in the VirtualHost directive, with the exception of

Modified: httpd/httpd/trunk/docs/manual/vhosts/ip-based.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/vhosts/ip-based.xml?rev=752951&r1=752950&r2=752951&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/vhosts/ip-based.xml (original)
+++ httpd/httpd/trunk/docs/manual/vhosts/ip-based.xml Thu Mar 12 17:52:51 2009
@@ -118,7 +118,7 @@
     host. e.g.</p>
 
     <example>
-    &lt;VirtualHost www.smallco.com&gt;<br />
+    &lt;VirtualHost 172.20.30.40:80&gt;<br />
     ServerAdmin webmaster@mail.smallco.com<br />
     DocumentRoot /groups/smallco/www<br />
     ServerName www.smallco.com<br />
@@ -126,7 +126,7 @@
     TransferLog /groups/smallco/logs/access_log<br />
     &lt;/VirtualHost&gt;<br />
     <br />
-    &lt;VirtualHost www.baygroup.org&gt;<br />
+    &lt;VirtualHost 172.20.30.50:80&gt;<br />
     ServerAdmin webmaster@mail.baygroup.org<br />
     DocumentRoot /groups/baygroup/www<br />
     ServerName www.baygroup.org<br />
@@ -136,7 +136,8 @@
     </example>
 
     <p>It is recommended that you use an IP address instead of a
-    hostname (see <a href="../dns-caveats.html">DNS caveats</a>).</p>
+    hostname in the &lt;VirtualHost&gt; directive
+    (see <a href="../dns-caveats.html">DNS caveats</a>).</p>
 
     <p>Almost <strong>any</strong> configuration directive can be
     put in the VirtualHost directive, with the exception of



Mime
View raw message