Quoting Gregor Schneider <[EMAIL PROTECTED]>:
You can have more than one ServerName (provided they are in different
VirtualHost directives):
http://httpd.apache.org/docs/2.2/vhosts/name-based.html
If I'm not mistaken, you should use only ONE overall
ServerName-directive in your configs, the
If I'm not mistaken, you should use only ONE overall
ServerName-directive in your configs, the rest should be handled with
ServerAlias (even having multiple VHosts)
Meaning, if you change
ServerName xyz.domain.com
to
ServerAlias xyz.domain.com
it should work.
Cheers
Gregor
--
what's puzzlin
61-6649
1200 Wooded Acres Dr.Fax: (254)741-5777
Waco, Texas 76701
-Original Message-
From: Pau Garcia i Quiles [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 09, 2008 2:57 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] VirtualHost and default
Quoting "Frank M. Ramaekers" <[EMAIL PROTECTED]>:
I have successfully setup three virtual hosts.
ServerName abc.domain.com
ServerAlias def.domain.com
DocumentRoot /var/www/html
:
ServerName xyz.domain.com
DocumentRoot /home/www/xyz
:
This seems to work fine except when on
I have successfully setup three virtual hosts.
ServerName abc.domain.com
ServerAlias def.domain.com
DocumentRoot /var/www/html
:
ServerName xyz.domain.com
DocumentRoot /home/www/xyz
:
This seems to work fine except when only the xyz host name is type (i.e.
without the domain