[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-cvs
Subject:    svn commit: r1128161 - in /httpd/httpd/branches/2.2.x/docs/manual/mod:
From:       gryzor () apache ! org
Date:       2011-05-27 6:14:29
Message-ID: 20110527061429.5B84723888CD () eris ! apache ! org
[Download RAW message or body]

Author: gryzor
Date: Fri May 27 06:14:28 2011
New Revision: 1128161

URL: http://svn.apache.org/viewvc?rev=1128161&view=rev
Log:
Fix the NameVirtualHost and <VirtualHost> examples, by adding a port (:80) after the \
example IP addresses

Modified:
    httpd/httpd/branches/2.2.x/docs/manual/mod/core.html.en
    httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml

Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/core.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/core.html.en?rev=1128161&r1=1128160&r2=1128161&view=diff
 ==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/core.html.en (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/core.html.en Fri May 27 06:14:28 2011
@@ -2320,10 +2320,10 @@ hosting</td></tr>
     required directive if you want to configure <a href="../vhosts/">name-based \
virtual hosts</a>.</p>  
     <p>Although <var>addr</var> can be hostname it is recommended
-    that you always use an IP address, e.g.</p>
+    that you always use an IP address and a port, e.g.</p>
 
     <div class="example"><p><code>
-      NameVirtualHost 111.22.33.44
+      NameVirtualHost 111.22.33.44:80
     </code></p></div>
 
     <p>With the <code class="directive">NameVirtualHost</code> directive you
@@ -2374,8 +2374,8 @@ hosting</td></tr>
       exactly match the argument to the <code \
class="directive">NameVirtualHost</code> directive.</p>  
       <div class="example"><p><code>
-        NameVirtualHost 1.2.3.4<br />
-        &lt;VirtualHost 1.2.3.4&gt;<br />
+        NameVirtualHost 1.2.3.4:80<br />
+        &lt;VirtualHost 1.2.3.4:80&gt;<br />
         # ...<br />
         &lt;/VirtualHost&gt;<br />
       </code></p></div>
@@ -3531,7 +3531,7 @@ hostname or IP address</td></tr>
     </ul>
 
     <div class="example"><h3>Example</h3><p><code>
-      &lt;VirtualHost 10.1.2.3&gt;<br />
+      &lt;VirtualHost 10.1.2.3:80&gt;<br />
       <span class="indent">
         ServerAdmin webmaster@host.example.com<br />
         DocumentRoot /www/docs/host.example.com<br />
@@ -3548,7 +3548,7 @@ hostname or IP address</td></tr>
     IPv6 example is shown below:</p>
 
     <div class="example"><p><code>
-      &lt;VirtualHost [2001:db8::a00:20ff:fea7:ccea]&gt;<br />
+      &lt;VirtualHost [2001:db8::a00:20ff:fea7:ccea]:80&gt;<br />
       <span class="indent">
         ServerAdmin webmaster@host.example.com<br />
         DocumentRoot /www/docs/host.example.com<br />

Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml?rev=1128161&r1=1128160&r2=1128161&view=diff
 ==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml Fri May 27 06:14:28 2011
@@ -2302,10 +2302,10 @@ hosting</description>
     href="../vhosts/">name-based virtual hosts</a>.</p>
 
     <p>Although <var>addr</var> can be hostname it is recommended
-    that you always use an IP address, e.g.</p>
+    that you always use an IP address and a port, e.g.</p>
 
     <example>
-      NameVirtualHost 111.22.33.44
+      NameVirtualHost 111.22.33.44:80
     </example>
 
     <p>With the <directive>NameVirtualHost</directive> directive you
@@ -2358,8 +2358,8 @@ hosting</description>
       >NameVirtualHost</directive> directive.</p>
 
       <example>
-        NameVirtualHost 1.2.3.4<br />
-        &lt;VirtualHost 1.2.3.4&gt;<br />
+        NameVirtualHost 1.2.3.4:80<br />
+        &lt;VirtualHost 1.2.3.4:80&gt;<br />
         # ...<br />
         &lt;/VirtualHost&gt;<br />
       </example>
@@ -3487,7 +3487,7 @@ hostname or IP address</description>
     </ul>
 
     <example><title>Example</title>
-      &lt;VirtualHost 10.1.2.3&gt;<br />
+      &lt;VirtualHost 10.1.2.3:80&gt;<br />
       <indent>
         ServerAdmin webmaster@host.example.com<br />
         DocumentRoot /www/docs/host.example.com<br />
@@ -3504,7 +3504,7 @@ hostname or IP address</description>
     IPv6 example is shown below:</p>
 
     <example>
-      &lt;VirtualHost [2001:db8::a00:20ff:fea7:ccea]&gt;<br />
+      &lt;VirtualHost [2001:db8::a00:20ff:fea7:ccea]:80&gt;<br />
       <indent>
         ServerAdmin webmaster@host.example.com<br />
         DocumentRoot /www/docs/host.example.com<br />


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic