Re: Default server is overridden by first VirtualHost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux