summaryrefslogtreecommitdiff
path: root/docs/manual/bind.xml
diff options
context:
space:
mode:
authorDaniel Gruno <humbedooh@apache.org>2012-04-26 14:43:33 +0000
committerDaniel Gruno <humbedooh@apache.org>2012-04-26 14:43:33 +0000
commit74e009ce0a1fda0fd56efb8a573beeece725f810 (patch)
tree9b0601a33881aafe525ac43fed28cd120b8b9a94 /docs/manual/bind.xml
parentbbe7712f755090d42e5d84d3d24b0624fdf61226 (diff)
downloadhttpd-74e009ce0a1fda0fd56efb8a573beeece725f810.tar.gz
Syntax for files in /
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330883 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/bind.xml')
-rw-r--r--docs/manual/bind.xml32
1 files changed, 16 insertions, 16 deletions
diff --git a/docs/manual/bind.xml b/docs/manual/bind.xml
index b74c53a0bd..9d3a31aea2 100644
--- a/docs/manual/bind.xml
+++ b/docs/manual/bind.xml
@@ -71,25 +71,25 @@
<p>For example, to make the server accept connections on both
port 80 and port 8000, on all interfaces, use:</p>
- <example>
- Listen 80<br />
- Listen 8000
- </example>
+ <highlight language="config">
+Listen 80
+Listen 8000
+ </highlight>
<p>To make the server accept connections on port 80 for one interface,
and port 8000 on another, use</p>
- <example>
- Listen 192.0.2.1:80<br />
- Listen 192.0.2.5:8000
- </example>
+ <highlight language="config">
+Listen 192.0.2.1:80
+Listen 192.0.2.5:8000
+ </highlight>
<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
- </example>
+ </highlight>
<note type="warning"><p>Overlapping <directive
module="mpm_common">Listen</directive> directives will result in a
@@ -136,10 +136,10 @@
<directive module="mpm_common">Listen</directive> directives, as in the
following examples:</p>
- <example>
- Listen 0.0.0.0:80<br />
- Listen 192.0.2.1:80
- </example>
+ <highlight language="config">
+Listen 0.0.0.0:80
+Listen 192.0.2.1:80
+ </highlight>
<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
@@ -162,9 +162,9 @@
<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
- </example>
+ </highlight>
</section>
<section id="virtualhost">