httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Wagar" <ewa...@yahoo.com>
Subject RE: [users@httpd] _default_ namevhost not working (as I expected and understand)
Date Tue, 13 May 2003 02:27:19 GMT
Changing the _default_ to the IP of the system worked the way I expected.

Thanks
eric



> > I have a _default_ namevirtualhost contain.
> >
> > My understanding of the _default_ bucket is that it will catch the IP
> > generated traffic and send it to a certain place while passing the
> domain
> > specified traffic to another place.
> >
> > Unfortunately, when I type in the IP address, it goes to the first
> listed
> > domain virtualhost, as I expected had there not been a _default_
> contain.
> 
> The _default_ vhost does nothing with name-vhosts.  The default name-vhost
> is the first one listed.  If you want to do something different for
> requests that don't match any other vhost, simply create a new
> <virtualhost> block, list it first, and give it a ServerName that doesn't
> match any of the others (for example, use the IP address as the
> ServerName).
> 
> Joshua.



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


Mime
View raw message