summaryrefslogtreecommitdiff
path: root/docs/manual/bind.html.en
diff options
context:
space:
mode:
authorStefan Fritsch <sf@sfritsch.de>2014-03-29 21:56:19 +0100
committerStefan Fritsch <sf@sfritsch.de>2014-03-29 21:56:45 +0100
commit2a463b3cd73c32ee9dcd508248d0194923f435f4 (patch)
tree2ff478255a77a55031056790918b6f983bb7b20a /docs/manual/bind.html.en
parent86d5cc79d9d6750da8771fdb0c9ab22c19b8ad45 (diff)
downloadapache2-upstream/2.4.9.tar.gz
Imported Upstream version 2.4.9upstream/2.4.9
Diffstat (limited to 'docs/manual/bind.html.en')
-rw-r--r--docs/manual/bind.html.en44
1 files changed, 17 insertions, 27 deletions
diff --git a/docs/manual/bind.html.en b/docs/manual/bind.html.en
index 9bb0ba30..33fb4e74 100644
--- a/docs/manual/bind.html.en
+++ b/docs/manual/bind.html.en
@@ -9,7 +9,7 @@
<link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="./style/css/prettify.css" />
-<script src="./style/scripts/prettify.js" type="text/javascript">
+<script src="./style/scripts/prettify.min.js" type="text/javascript">
</script>
<link href="./images/favicon.ico" rel="shortcut icon" /></head>
@@ -49,7 +49,7 @@
it listens to all addresses on the machine. However, it may need to
be told to listen on specific ports, or only on selected
addresses, or a combination of both. This is often combined with the
- <a href="vhosts">Virtual Host</a> feature, which determines how
+ <a href="vhosts/">Virtual Host</a> feature, which determines how
<code>httpd</code> responds to different IP addresses, hostnames and
ports.</p>
@@ -68,34 +68,28 @@
<p>For example, to make the server accept connections on both
port 80 and port 8000, on all interfaces, use:</p>
- <pre class="prettyprint lang-config">
-Listen 80
-Listen 8000
- </pre>
-
+ <div class="example"><pre class="prettyprint lang-config">Listen 80
+Listen 8000</pre>
+</div>
<p>To make the server accept connections on port 80 for one interface,
and port 8000 on another, use</p>
- <pre class="prettyprint lang-config">
-Listen 192.0.2.1:80
-Listen 192.0.2.5:8000
- </pre>
-
+ <div class="example"><pre class="prettyprint lang-config">Listen 192.0.2.1:80
+Listen 192.0.2.5:8000</pre>
+</div>
<p>IPv6 addresses must be enclosed in square brackets, as in the
following example:</p>
- <pre class="prettyprint lang-config">
- Listen [2001:db8::a00:20ff:fea7:ccea]:80
- </pre>
-
+ <div class="example"><pre class="prettyprint lang-config">Listen [2001:db8::a00:20ff:fea7:ccea]:80</pre>
+</div>
<div class="warning"><p>Overlapping <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directives will result in a
fatal error which will prevent the server from starting up.</p>
<div class="example"><p><code>
- (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
</code></p></div>
<p>See <a href="http://wiki.apache.org/httpd/CouldNotBindToAddress">the
@@ -138,11 +132,9 @@ Listen 192.0.2.5:8000
<code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directives, as in the
following examples:</p>
- <pre class="prettyprint lang-config">
-Listen 0.0.0.0:80
-Listen 192.0.2.1:80
- </pre>
-
+ <div class="example"><pre class="prettyprint lang-config">Listen 0.0.0.0:80
+Listen 192.0.2.1:80</pre>
+</div>
<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
@@ -164,10 +156,8 @@ 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>
- <pre class="prettyprint lang-config">
- Listen 192.170.2.1:8443 https
- </pre>
-
+ <div class="example"><pre class="prettyprint lang-config">Listen 192.170.2.1:8443 https</pre>
+</div>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="virtualhost" id="virtualhost">How This Works With Virtual Hosts</a></h2>
@@ -216,7 +206,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/bind.html';
}
})(window, document);
//--><!]]></script></div><div id="footer">
-<p class="apache">Copyright 2013 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
+<p class="apache">Copyright 2014 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">Glossary</a> | <a href="./sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
if (typeof(prettyPrint) !== 'undefined') {
prettyPrint();