Name
UseCanonicalName
Synopsis
UseCanonicalName on|off
Description
[server config, or within <Directory>
or
<VirtualHost>
, or .htaccess]
Used to build a self-referential URL. If on
,
Apache uses the <ServerName>
and <Port>
directives
to build a URL representing itself. If off
,
Apache attempts to construct its URL from the client parameters, which
is typical when using the VirtualHost
directive to represent
different addresses.
(Apache 1.3 or later)
Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.