httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: http, https, hostname ( www ) and domain_name ( )
Date Tue, 06 Aug 2002 07:28:05 GMT
>From: Robert Andersson []
>    ServerName
>    ServerAlias
>    Redirect /
>    ServerName
>    ...
>I ask some knowledgable person who read this to verify that 
>two VHost can
>have the same name when on different ports, but I strongly 
>suspect that to
>be the case.

ServerName serves two purposes; Its primary function is to allow apache to make self-referential
URLs (i.e.  When redirecting, apache has to make URLs which come back to the server). Secondly,
it allows apache to distinguish between name-based VHs (but then only if NameVirtualHost has
been defined).

In the case above, the two VHs are distinguished by port number so there is no conflict with
the repeated ServerName. 


Owen Boyle

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message