From: Justin Erenkrantz UseCanonicalName on
(and
in all versions prior to 1.3) Apache will use the ServerName and Port
+ href="#servername">ServerName and Listen
directives 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
@@ -2592,7 +2593,8 @@
then it should be just fine.
See also: ServerName, Port
+ href="#servername">ServerName, ListenYou can specify a :port
to change the port that
is matched. If unspecified then it defaults to the same port as
- the most recent Port
statement
+ the most recent Listen
statement
of the main server. You may also specify :*
to
match all ports on that address. (This is recommended when used
with _default_
.)