From: Martin Kraemer Date: Thu, 8 Nov 2001 14:43:46 +0000 (+0000) Subject: Try to improve the wording X-Git-Tag: 2.0.28~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46d8ab349b799583c6902363db6a7a264e3ca9ed;p=apache Try to improve the wording git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91800 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html b/docs/manual/mod/core.html index d0ab1c9b36..7c666233b2 100644 --- a/docs/manual/mod/core.html +++ b/docs/manual/mod/core.html @@ -2206,7 +2206,7 @@ Syntax: ServerName - fully-qualified-domain-name:port
+ fully-qualified-domain-name[:port]
Context: server config, virtual host
@@ -2235,14 +2235,16 @@

This directive now allows a port to be added to the server name. This allows an admin to assign the canonical port at the same time that the canonical name is assigned. - The Port directive in Apache-1.3, which used to perform this role, has also - been removed, easing configuration for all users.

+ If no port was specified, Apache implies port 80 for http:// + and port 443 for https:// requests.
+ The Port directive in Apache-1.3, which used to perform + this role, has been removed, easing configuration for all users.

See the description of the UseCanonicalName directive for settings which determine whether self-referential URL's (e.g., by the - mod_dir module) will use the specified - port, or the port to which the client connected. + mod_dir module) will refer to the + specified port, or to the port number given in the client's request.

See Also:
@@ -2556,10 +2558,7 @@ to the same server. With UseCanonicalName on (and in all versions prior to 1.3) Apache will use the hostname and port specified in the ServerName - directive to construct a canonical name for the server. - (If no port was specified in the ServerName - directive, Apache implies port 80 for http:// and port 443 for https://) - This + directive to construct a canonical name for the server. This name is used in all self-referential URLs, and for the values of SERVER_NAME and SERVER_PORT in CGIs.