From: Justin Erenkrantz Date: Fri, 19 Oct 2001 06:05:39 +0000 (+0000) Subject: Remove all references to the Port directive and replace it with X-Git-Tag: 2.0.27~78 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cef27f231453a8979ea21a2632ea11b395f85dbd;p=apache Remove all references to the Port directive and replace it with appropriate links to the Listen directive. If I had known that so many files had the Port directive in it, I would have bundled this up as one big commit. *sigh* I just kept looking and finding new files, fixing, and committing. So, this should be the rest of them for now. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91571 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/bind.html b/docs/manual/bind.html index 993887531b..d587810315 100644 --- a/docs/manual/bind.html +++ b/docs/manual/bind.html @@ -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.

+ it listens to all addresses on the machine. However, it needs to + be told to listen to specific ports, 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.

+ it listens to all addresses on the machine. However, it needs to + be told to listen to specific ports, 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 for srm.conf
       preceding the one for access.conf.
 
-      
  • The BindAddress directive no longer exists. - Equivalent functionality is provided with the more flexible +
  • The BindAddress and Port + directives no longer exist. Equivalent functionality is + provided with the more flexible Listen directive.