httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject svn commit: r1565321 - /httpd/httpd/trunk/docs/manual/bind.xml
Date Thu, 06 Feb 2014 16:13:57 GMT
Author: nd
Date: Thu Feb  6 16:13:57 2014
New Revision: 1565321

URL: http://svn.apache.org/r1565321
Log:
add example containers

Modified:
    httpd/httpd/trunk/docs/manual/bind.xml

Modified: httpd/httpd/trunk/docs/manual/bind.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/bind.xml?rev=1565321&r1=1565320&r2=1565321&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/bind.xml (original)
+++ httpd/httpd/trunk/docs/manual/bind.xml Thu Feb  6 16:13:57 2014
@@ -71,32 +71,38 @@
     <p>For example, to make the server accept connections on both
     port 80 and port 8000, on all interfaces, use:</p>
 
+    <example>
     <highlight language="config">
 Listen 80
 Listen 8000
     </highlight>
+    </example>
 
     <p>To make the server accept connections on port 80 for one interface,
        and port 8000 on another, use</p>
 
+    <example>
     <highlight language="config">
 Listen 192.0.2.1:80
 Listen 192.0.2.5:8000
     </highlight>
+    </example>
 
     <p>IPv6 addresses must be enclosed in square brackets, as in the
     following example:</p>
 
+    <example>
     <highlight language="config">
       Listen [2001:db8::a00:20ff:fea7:ccea]:80
     </highlight>
+    </example>
 
     <note type="warning"><p>Overlapping <directive
     module="mpm_common">Listen</directive> directives will result in a
     fatal error which will prevent the server from starting up.</p>
 
     <example>
-    (48)Address already in use: make_sock: could not bind to address [::]:80
+      (48)Address already in use: make_sock: could not bind to address [::]:80
     </example>
 
     <p>See <a 
@@ -141,10 +147,12 @@ Listen 192.0.2.5:8000
     <directive module="mpm_common">Listen</directive> directives, as in the
     following examples:</p>
 
+    <example>
     <highlight language="config">
 Listen 0.0.0.0:80
 Listen 192.0.2.1:80
     </highlight>
+    </example>
 
     <p>If your platform supports it and you want httpd to handle IPv4 and
     IPv6 connections on separate sockets (i.e., to disable IPv4-mapped
@@ -167,9 +175,11 @@ Listen 192.0.2.1:80
     <p>You only need to set the protocol if you are running on non-standard
        ports.  For example, running an <code>https</code> site on port 8443:</p>
 
+    <example>
     <highlight language="config">
       Listen 192.170.2.1:8443 https
     </highlight>
+    </example>
   </section>
 
   <section id="virtualhost">



Mime
View raw message