While you're at it, please use local/example ips. Like 172.16/12 or 10/8. The hostnames before we wrong as well (should always be *.example.org/net/com)
nd On Thursday 05 April 2012 08:05:17 humbed...@apache.org wrote: > Author: humbedooh > Date: Thu Apr 5 06:05:17 2012 > New Revision: 1309664 > > URL: http://svn.apache.org/viewvc?rev=1309664&view=rev > Log: > When discussing IP-based hosting, it is always good to use IPs in the > example (and some ports!) > > Modified: > httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.en > httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml > > Modified: httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.en > URL: > http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/vhosts/ >ip-based.html.en?rev=1309664&r1=1309663&r2=1309664&view=diff > =========================================================================== >=== --- httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.en > (original) +++ > httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.en Thu Apr 5 > 06:05:17 2012 @@ -94,7 +94,7 @@ > that daemon services. e.g.</p> > > <div class="example"><p><code> > - Listen www.smallco.com:80 > + Listen 172.20.30.40:80 > </code></p></div> > > <p>It is recommended that you use an IP address instead of a > @@ -113,7 +113,7 @@ > host. e.g.</p> > > <div class="example"><p><code> > - <VirtualHost www.smallco.com><br /> > + <VirtualHost 172.20.30.40:80><br /> > ServerAdmin webmas...@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 /> > </VirtualHost><br /> > <br /> > - <VirtualHost www.baygroup.org><br /> > + <VirtualHost 172.20.30.50:80><br /> > ServerAdmin webmas...@mail.baygroup.org<br /> > DocumentRoot /groups/baygroup/www<br /> > ServerName www.baygroup.org<br /> > > Modified: httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml > URL: > http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/vhosts/ >ip-based.xml?rev=1309664&r1=1309663&r2=1309664&view=diff > =========================================================================== >=== --- httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml > (original) +++ httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml > Thu Apr 5 06:05:17 2012 @@ -93,7 +93,7 @@ > that daemon services. e.g.</p> > > <example> > - Listen www.smallco.com:80 > + Listen 172.20.30.40:80 > </example> > > <p>It is recommended that you use an IP address instead of a > @@ -118,7 +118,7 @@ > host. e.g.</p> > > <example> > - <VirtualHost www.smallco.com><br /> > + <VirtualHost 172.20.30.40:80><br /> > ServerAdmin webmas...@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 /> > </VirtualHost><br /> > <br /> > - <VirtualHost www.baygroup.org><br /> > + <VirtualHost 172.20.30.50:80><br /> > ServerAdmin webmas...@mail.baygroup.org<br /> > DocumentRoot /groups/baygroup/www<br /> > ServerName www.baygroup.org<br /> --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscr...@httpd.apache.org For additional commands, e-mail: docs-h...@httpd.apache.org