Re: www and without www is not the same ?!

Jörg Delker <[email protected]> Fri, 25 Nov 2005 20:23:51 +0100
Newsgroups gmane.comp.isp.ispman.user
Message-ID <[email protected]>
thomas-5VVOt45T8ASrG/[email protected] wrote:

>ok now, I added line like this:
>
>$ServerAliases="ServerAlias   $ServerAliases ";
>$ServerAliases.=$ispmanDomain if ($servername eq "www." . $ispmanDomain);
>
>
>now, vhosts.conf are missing ServerAlias line:
>
><VirtualHost *>
>        ServerName      www.82680268.com
>
>
>        DocumentRoot    /home/82680268.com/vhosts/www/htdocs
>
>
>any idea ?
>  
>

With only the change above, the line will only be set if there is an 
(other) alias is defined..
Either you may want to adjust the framing "if ($ispmanVhostServerAlias)" 
section or (maybe better) make the necessary changes in http.lib.

Joerg
smime.p7s (application/x-pkcs7-signature, 3.1 KB) - not displayed