From 46d8ab349b799583c6902363db6a7a264e3ca9ed Mon Sep 17 00:00:00 2001
From: Martin Kraemer 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.
+ fully-qualified-domain-name[:port]
Context: server config, virtual
host
@@ -2235,14 +2235,16 @@
+ 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.