httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Basil Mohamed Gohar <abu_huray...@hidayahonline.org>
Subject Re: [users@httpd] Default server is overridden by first VirtualHost
Date Mon, 04 May 2009 04:19:00 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/01/2009 11:16 PM, Eric Covener wrote:
> On Fri, May 1, 2009 at 10:44 AM, Basil Mohamed Gohar
> <abu_hurayrah@hidayahonline.org> wrote:
>> #
>> # Use name-based virtual hosting.
>> #
>> NameVirtualHost *:80
>>
>> <VirtualHost *:80>
>>    ServerName x
>>    ServerAlias y z
>>    DocumentRoot /home/basilgohar/Public/www/app
>> </VirtualHost>
> 
>> Can anyone help me get my default server back?
> 
> The manual explicitly talks about this. If it matches, it will hide
> the base/default server.
> 
The thing is, the vhost names do not match.  I type in "beta" and the
server loads "x".  This is the problem I am having.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkn+bK4ACgkQaVgOCFr0s2K4EQCfSPzTwLNdMZw/4+YRy5A5RaM+
Q70An2/91yAS8tzGTK4GswmzQwE14dLG
=QSdU
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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