From: dgaudet Date: Fri, 25 Apr 1997 20:49:04 +0000 (+0000) Subject: Clarify the function of Port to avoid problems like PR#459 and PR#485. X-Git-Tag: APACHE_1_2b9~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39bbd4cf97250735d450b648d9fbd087b0c2e26a;p=apache Clarify the function of Port to avoid problems like PR#459 and PR#485. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78018 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html b/docs/manual/mod/core.html index 0bc931ba49..1562eebabd 100644 --- a/docs/manual/mod/core.html +++ b/docs/manual/mod/core.html @@ -919,16 +919,43 @@ The PidFile is subject to the same warnings about log file placement and Context: server config
Status: core

-The Port directive sets the network port on which the server listens. -Num is a number from 0 to 65535; some port numbers (especially below +Number is a number from 0 to 65535; some port numbers (especially below 1024) are reserved for particular protocols. See /etc/services for a list of some defined ports; the standard port for the http protocol is 80.

+The Port directive has two behaviours, the first of which is necessary for +NCSA backwards compatibility (and which is confusing in the context of +Apache).

+ +

+ +In no event does a Port setting affect +what ports a VirtualHost responds on, the +VirtualHost directive itself is used for that.

+ +The primary behaviour of Port should be considered to be similar to that of +the ServerName directive. The ServerName +and Port together specify what you consider to be the canonical +address of the server.

+ Port 80 is one of Unix's special ports. All ports numbered below 1024 are reserved for system use, i.e. regular (non-root) users cannot -make use of them; instead they can only use higher port numbers.

- +make use of them; instead they can only use higher port numbers. To use port 80, you must start the server from the root account. After binding to the port and before accepting requests, Apache will change to a low privileged user as set by the User directive.