httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <>
Subject Re: [users@httpd] PRoblem with virtual host setup
Date Sun, 15 Mar 2009 11:25:28 GMT
On Fri, Mar 13, 2009 at 9:59 PM, Dan Yamins <> wrote:
> When I run apachectl -S I get:
>    [Fri Mar 13 16:56:45 2009] [warn] VirtualHost overlaps with
> VirtualHost, the first has precedence, perhaps you need a
> NameVirtualHost directive
>    [Fri Mar 13 16:56:45 2009] [warn] NameVirtualHost *:80 has no
> VirtualHosts
>    VirtualHost configuration:
>           DataEnvironment
> (/private/etc/apache2/users/dad.conf:1)

So the virtualhost config that will be used for this site is the one
in the file "/private/etc/apache2/users/dad.conf"
What is in that file?

Furthermore you  have a mismatch between your "VirtualHost" statement
and your <VirtualHost> blocks.

If your NameVirtualHost statement reads:
NameVirtualHost *:80

then your <VirtualHost> blocks must all be:
<VirtualHost *:80>

You have however: <VirtualHost> and that apperently
twice, and apache is a tad confused about what you want. That's what
all those error messages mean.

So you either need to change your NameVirtualHost statement, or your
<VirtualHost> blocks.

The second thing you need to to is to use all lowercase hostnames,
just like everyone else in the world does. That is probably causing
all kinds of problems.


Bremgarten b. Bern, Switzerland
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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

View raw message