On Fri, Mar 13, 2009 at 9:59 PM, Dan Yamins <dyam...@gmail.com> wrote:
>
> When I run apachectl -S I get:
>    [Fri Mar 13 16:56:45 2009] [warn] VirtualHost 127.0.0.1:80 overlaps with
> VirtualHost 127.0.0.1:80, 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:
>    127.0.0.1:80           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 127.0.0.1:80> 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.

Krist


-- 
krist.vanbes...@gmail.com
kr...@vanbesien.org
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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to