Commit f9b62c0f authored by Justin Erenkrantz's avatar Justin Erenkrantz
Browse files

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
parent 0221fba5
Loading
Loading
Loading
Loading
+6 −10
Original line number Diff line number Diff line
@@ -18,20 +18,17 @@

    <p>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 <code>Port</code> 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.</p>
    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.</p>

    <p>The <code>Listen</code> 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 <code>Listen</code> directive, the server
    listens to the given port on all interfaces, instead of the
    port given by the <code>Port</code> 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 <a
    href="mod/mpm_common.html#listen">Listen directive</a>, <a
    href="vhosts/">Virtual Hosts</a>, <a
    href="mod/core.html#port">Port directive</a>, <a
    href="dns-caveats.html">DNS Issues</a> and <a
    href="mod/core.html#virtualhost">&lt;VirtualHost&gt;
    section</a>. <!--#include virtual="footer.html" -->
+6 −10
Original line number Diff line number Diff line
@@ -18,20 +18,17 @@

    <p>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 <code>Port</code> 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.</p>
    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.</p>

    <p>The <code>Listen</code> 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 <code>Listen</code> directive, the server
    listens to the given port on all interfaces, instead of the
    port given by the <code>Port</code> 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 <a
    href="mod/mpm_common.html#listen">Listen directive</a>, <a
    href="vhosts/">Virtual Hosts</a>, <a
    href="mod/core.html#port">Port directive</a>, <a
    href="dns-caveats.html">DNS Issues</a> and <a
    href="mod/core.html#virtualhost">&lt;VirtualHost&gt;
    section</a>. <!--#include virtual="footer.html" -->
+2 −2
Original line number Diff line number Diff line
@@ -46,8 +46,8 @@
    is run as a daemon which executes continuously in the
    background to handle requests.</p>

    <p>If the <a href="mod/core.html#port">Port</a> specified in
    the configuration file is the default of 80 (or any other port
    <p>If the <a href="mod/mpm_common.html#Listen">Listen</a> 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
+2 −2
Original line number Diff line number Diff line
@@ -46,8 +46,8 @@
    is run as a daemon which executes continuously in the
    background to handle requests.</p>

    <p>If the <a href="mod/core.html#port">Port</a> specified in
    the configuration file is the default of 80 (or any other port
    <p>If the <a href="mod/mpm_common.html#Listen">Listen</a> 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
+1 −1
Original line number Diff line number Diff line
@@ -1477,7 +1477,7 @@ while (&lt;STDIN&gt;) {

#   server type
ServerType           standalone
Port                 8000
Listen               8000
MinSpareServers      16
StartServers         16
MaxSpareServers      16
Loading