Re: Using _default_ vhosts

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

 



> > jeff00seattle wrote:
> >> Reference:  http://httpd.apache.org/docs/2.2/vhosts/examples.html#default
> >> Using _default_  vhosts 
> >>
> >> What does _default_ actually mean???

On 24.04.09 21:08, Davide Bianchi wrote:
> Exactly what it says. The "default" VHost is picked when Apache can't
> understand which vhost is requested by the client ('cause none of the
> ServerName matches). Without a _default_ one, the first one in the list
> is used.

No. <VirtualHost _default_> match on IP address no other virtual host is
bound on (and I think only when no NameVirtualHost is specified).

So, when someone configures <VirtualHost *> in addition to
<VirtualHost _default_> the _default_ will never match.

-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
LSD will make your ECS screen display 16.7 million colors

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