From: Rich Bowen
then an access to
- http://www.my.host.com/index.html
refers to
+ http://my.example.com/index.html
refers to
/usr/web/index.html
. If the directory-path is
not absolute then it is assumed to be relative to the ServerRoot
.
<VirtualHost *:80>
- ServerName server.domain.com
- ServerAlias server server2.domain.com server2
+ ServerName server.example.com
+ ServerAlias server server2.example.com server2
ServerAlias *.example.com
UseCanonicalName Off
# ...
@@ -3919,10 +3919,10 @@ port
type a shortname, and a URL which is a directory, such as
http://www/splat
, without the trailing
slash then Apache httpd will redirect them to
- http://www.domain.com/splat/
. If you have
+ http://www.example.com/splat/
. If you have
authentication enabled, this will cause the user to have to
authenticate twice (once for www
and once again
- for www.domain.com
-- see the
+ for www.example.com
-- see the
FAQ on this subject for more information). But if
UseCanonicalName
is set Off
, then
Apache httpd will redirect to http://www/splat/
.