httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] apache2 handles klavsen.info weirdly
Date Thu, 21 Aug 2003 07:14:32 GMT
>-----Original Message-----
>From: Klavs Klavsen [mailto:kl@vsen.dk]
>
>I have a virtualhost, which has this:
>
><VirtualHost 192.168.1.2:80>
>    ServerName www.vsen.dk
>    ServerAlias vsen.dk
>    ServerAlias klavsen.info
>    ServerAlias www.klavsen.info
>.. the rest.
></VirtualHost>
>
>If you visit http://vsen.dk or www.vsen.dk it works just fine.
>But if you visit klavsen.info or www.klavsen.info I get the standard
>"Welcome - it worked message - which is REALLY weird to me.

I think Zac has it hit on it - you should only have one ServerAlias per
VH. The solution is that the argument to ServerAlias is a *list*, so you
should put:

ServerAlias vsen.dk klavsen.info www.klavsen.info

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

>
>Anyone have any idea what is up here?
>
>btw.it's apache-2.0.47 on Gentoo Linux.
>-- 
>Regards,
>Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk
>PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
>See my new CMS Hosting Service at http://www.VirkPaaNettet.dk
>
>Working with Unix is like wrestling a worthy opponent. 
>Working with windows is like attacking a small whining child 
>who is carrying a .38.				
>

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message