Gmane
Favicon
From: Bartłomiej Siwek <barsiwek <at> interia.pl>
Subject: RE: Problem with DynDns and Apache Virtual Hosts
Newsgroups: gmane.comp.apache.user
Date: 2008-10-08 22:13:50 GMT (12 weeks, 6 days, 1 hour and 47 minutes ago)
> 2008/10/8 Bartłomiej Siwek <barsiwek <at> interia.pl>:
>
> > The problem is that whatever subdomain i enter:
> > user1.somedomain.selfip.org
> > user1.somedomain.selfip.org
> > (even a non-existent ones line - idontexist.somedomain.selfip.org) i get
the
> > site form first virtual host.
> > What could be the problem.
>
> 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?

> >
> > On further investigation I found out that a server responds to requests
with
> > a 301 (Moved Permanently) response, then the browser tries to connect to
the
> > url pointing a page from the first domain.
>
> Maybe a redirect setup by your distros packaging in your default vhost.

Where can I look for that? I went a few times over the config files
(apache2.conf and httpd.conf) and found nothing. Could it be someplace else?

> -- 
> Eric Covener
> covener <at> gmail.com

----------------------------------------------------------------------
Dzwon taniej na zagraniczne komorki!
Sprawdz >> http://link.interia.pl/f1f26 

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