]> granicus.if.org Git - apache/commitdiff
add example containers
authorAndré Malo <nd@apache.org>
Thu, 6 Feb 2014 16:45:29 +0000 (16:45 +0000)
committerAndré Malo <nd@apache.org>
Thu, 6 Feb 2014 16:45:29 +0000 (16:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1565335 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/bind.xml

index 15428a91a847d49cc0ad51c95bd09b3130bdd098..888ef9387eecc8bbef91a1496264265ccb27db97 100644 (file)
     <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">