> > On 09.06.09 09:14, Davide Bianchi wrote:
> >> Actually no. If the request doesn't match any Virtual Hosts, it will be
> >> served by the first vhost defined or by the one defined with the
> >> _default_ keyword.

> On Tue, Jun 9, 2009 at 4:11 AM, Matus UHLAR - fantomas
> <uh...@fantomas.sk> wrote:
> > No. The "first vhost defined" matches name virtual host on the same IPs.
> >
> > the _default_ host matches all IP's that have no vhost configured and are
> > not configured to have name-based viurtual hosts (read: no <VirtualHost> nor
> > NameVirtualHost use them).

On 09.06.09 07:53, Eric Covener wrote:
> NameVirtualHost doesn't affect this selection, so the logic degrades
> to simpler  _default_ and * are used when there isn't an exact match
> on the IP.

I've meant, if there's NameVirtualHost <ip>, the <VirtualHost _default_>
will not match the IP even if there's no virtual host on that IP defined.
Was I wrong?

> Any name-based vhost selection will happen after this is already
> sorted out, if the VirtualHost selected (in the ip-based phase where
> _default_ and * will be compared to anything) matches exactly an NVH.


-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; 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.
The early bird may get the worm, but the second mouse gets the cheese. 

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to