httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: Name-based virtual hosts
Date Fri, 12 Apr 2002 19:12:20 GMT

On Fri, 12 Apr 2002, Dwayne Miller wrote:

> Looks like DNS resolves both names to the same IP address.  So you will
> get the default behavior for anyone hitting that server via the
> address.  You could remove the name from DNS.  Or point it
> to another IP address.

There is a simpler solution.  List the following BEFORE your other
virtual hosts in httpd.conf:

<Location />
Order allow,deny
deny from all

But in reality, the argument to the <VirtualHost> directive should
be an IP address (or *), not a hostname.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message