You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/04/05 08:05:17 UTC

svn commit: r1309664 - in /httpd/httpd/branches/2.2.x/docs/manual/vhosts: ip-based.html.en ip-based.xml

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>
-    &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 />

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>
-    &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 />



Re: svn commit: r1309664 - in /httpd/httpd/branches/2.2.x/docs/manual/vhosts: ip-based.html.en ip-based.xml

Posted by André Malo <nd...@perlig.de>.
On Thursday 05 April 2012 12:37:10 Tim Bannister wrote:
> On Thu, Apr 05, 2012, André Malo wrote:
> > 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)
>
> The IETF have reserved three IPv4 address blocks for documentation:
> 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24
>
> It'd be even better to use these.

>
> Ref.  http://tools.ietf.org/html/rfc5737 / urn:ietf:rfc:5737

Oh, nice. Didn't know that. I've lost track somehow after RFC 3000 or so :)

nd

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: svn commit: r1309664 - in /httpd/httpd/branches/2.2.x/docs/manual/vhosts: ip-based.html.en ip-based.xml

Posted by Tim Bannister <is...@jellybaby.net>.
On Thu, Apr 05, 2012, André Malo wrote:
> 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)

The IETF have reserved three IPv4 address blocks for documentation:
192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24

It'd be even better to use these.

Ref.  http://tools.ietf.org/html/rfc5737 / urn:ietf:rfc:5737

-- 
Tim Bannister - isoma@jellybaby.net

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: svn commit: r1309664 - in /httpd/httpd/branches/2.2.x/docs/manual/vhosts: ip-based.html.en ip-based.xml

Posted by André Malo <nd...@perlig.de>.
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 humbedooh@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>
> -    &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 />
>
> 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>
> -    &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 />



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org