From: Justin Erenkrantz When Apache starts, it connects to some port and address on
the local machine and waits for incoming requests. By default,
- it listens to all addresses on the machine, and to the port as
- specified by the Port
directive in the server
- configuration. However, it can be told to listen to more the
- one port, or to listen to only selected addresses, or a
- combination. This is often combined with the Virtual Host
- feature which determines how Apache responds to different IP
- addresses, hostnames and ports.
The Listen
directive tells the server to accept
incoming requests only on the specified port or
address-and-port combinations. If only a port number is
specified in the Listen
directive, the server
- listens to the given port on all interfaces, instead of the
- port given by the Port
directive. If an IP address
+ listens to the given port on all interfaces. If an IP address
is given as well as a port, the server will listen on the given
port and interface. Multiple Listen directives may be used to
specify a number of addresses and ports to listen to. The
@@ -70,7 +67,6 @@
See also the documentation on Listen directive, Virtual Hosts, Port directive, DNS Issues and <VirtualHost>
section.
diff --git a/docs/manual/bind.html.en b/docs/manual/bind.html.en
index 993887531b..d587810315 100644
--- a/docs/manual/bind.html.en
+++ b/docs/manual/bind.html.en
@@ -18,20 +18,17 @@
When Apache starts, it connects to some port and address on
the local machine and waits for incoming requests. By default,
- it listens to all addresses on the machine, and to the port as
- specified by the Port
directive in the server
- configuration. However, it can be told to listen to more the
- one port, or to listen to only selected addresses, or a
- combination. This is often combined with the Virtual Host
- feature which determines how Apache responds to different IP
- addresses, hostnames and ports.
The Listen
directive tells the server to accept
incoming requests only on the specified port or
address-and-port combinations. If only a port number is
specified in the Listen
directive, the server
- listens to the given port on all interfaces, instead of the
- port given by the Port
directive. If an IP address
+ listens to the given port on all interfaces. If an IP address
is given as well as a port, the server will listen on the given
port and interface. Multiple Listen directives may be used to
specify a number of addresses and ports to listen to. The
@@ -70,7 +67,6 @@
See also the documentation on Listen directive, Virtual Hosts, Port directive, DNS Issues and <VirtualHost>
section.
diff --git a/docs/manual/invoking.html b/docs/manual/invoking.html
index 1957e59ed7..a9c625551f 100644
--- a/docs/manual/invoking.html
+++ b/docs/manual/invoking.html
@@ -46,8 +46,8 @@
is run as a daemon which executes continuously in the
background to handle requests.
If the Port specified in - the configuration file is the default of 80 (or any other port +
If the Listen specified in + the configuration file is default of 80 (or any other port below 1024), then it is necessary to have root privileges in order to start apache, so that it can bind to this privileged port. Once the server has started and performed a few diff --git a/docs/manual/invoking.html.en b/docs/manual/invoking.html.en index 1957e59ed7..a9c625551f 100644 --- a/docs/manual/invoking.html.en +++ b/docs/manual/invoking.html.en @@ -46,8 +46,8 @@ is run as a daemon which executes continuously in the background to handle requests.
-If the Port specified in - the configuration file is the default of 80 (or any other port +
If the Listen specified in + the configuration file is default of 80 (or any other port below 1024), then it is necessary to have root privileges in order to start apache, so that it can bind to this privileged port. Once the server has started and performed a few diff --git a/docs/manual/misc/rewriteguide.html b/docs/manual/misc/rewriteguide.html index 278e93b247..8fcf122a07 100644 --- a/docs/manual/misc/rewriteguide.html +++ b/docs/manual/misc/rewriteguide.html @@ -1477,7 +1477,7 @@ while (<STDIN>) { # server type ServerType standalone -Port 8000 +Listen 8000 MinSpareServers 16 StartServers 16 MaxSpareServers 16 diff --git a/docs/manual/platform/windows.html b/docs/manual/platform/windows.html index 24400700f3..949d41527e 100644 --- a/docs/manual/platform/windows.html +++ b/docs/manual/platform/windows.html @@ -220,8 +220,7 @@
After starting Apache running (either in a console window or as a service) if will be listening to port 80 (unless you - changed the Port, Listen or - BindAddress directives in the configuration + changed the Listen directive in the configuration files). To connect to the server and access the default page, launch a browser and enter this URL:
diff --git a/docs/manual/upgrading.html.en b/docs/manual/upgrading.html.en index 730c635de7..d7814a7a55 100644 --- a/docs/manual/upgrading.html.en +++ b/docs/manual/upgrading.html.en @@ -86,8 +86,9 @@ of httpd.conf, with the one forsrm.conf
preceding the one foraccess.conf
. -
BindAddress
directive no longer exists.
- Equivalent functionality is provided with the more flexible
+ BindAddress
and Port
+ directives no longer exist. Equivalent functionality is
+ provided with the more flexible
Listen
directive.