Gmane
Gravatar
From: Eric Covener <covener <at> gmail.com>
Subject: Re: Problem with DynDns and Apache Virtual Hosts
Newsgroups: gmane.comp.apache.user
Date: 2008-10-09 11:33:16 GMT (12 weeks, 5 days, 9 hours and 32 minutes ago)
2008/10/8 Bartłomiej Siwek <barsiwek <at> interia.pl>:
>>
>> That's just how it works, the first one defined in a NameVirtualHost
>> set is the default/catch-all.
>
> So how would I go about setting it so the apache responds only to valid
> vhosts?

It has to respond if the client ends up at an IP address the server is
listening on.  If you don't want to show your real content, make your
default vhost serve a dummy page or return an error.

-- 
Eric Covener
covener <at> gmail.com