Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 93229 invoked from network); 15 Mar 2009 11:26:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Mar 2009 11:26:06 -0000 Received: (qmail 65102 invoked by uid 500); 15 Mar 2009 11:25:56 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 65089 invoked by uid 500); 15 Mar 2009 11:25:56 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 65080 invoked by uid 99); 15 Mar 2009 11:25:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Mar 2009 04:25:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of krist.vanbesien@gmail.com designates 209.85.218.179 as permitted sender) Received: from [209.85.218.179] (HELO mail-bw0-f179.google.com) (209.85.218.179) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Mar 2009 11:25:49 +0000 Received: by bwz27 with SMTP id 27so3169516bwz.24 for ; Sun, 15 Mar 2009 04:25:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Sgux4+Zcma1XImJupNZ+2CLJxf9RNHDxmOfKcRjJ6Dg=; b=O8H+9zzF8OjTg77+s2WEggFEcpR9UhVScsmvW9/9d3rJctGuEN6u4hIF/lWWj9sCJK AjyHJz1HEpIRTtuKZ3b7zRQ5r4GDT6TAsTp7lMk6lDkfdswBsjbRrB9GNNPwoFz/Mk5i IZ3hJF2rJryBmJ7c6TXTMTFj2wNOXY0QEe67Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Eh6aiZk6kGadshVVa179BO1l9coJuOsJPM/gCqPmjmJ3ZQYOVGaYzddnyeEIvzyVGR tmiH8fCZVNbQ1xFd6i1woN0pQF9OJ4CV7WU8zVjHOi1S9SDWiiMCzcgEowh2pKQVY+xW WbYwMdwCoiNwBaa6XbTlMW/6w9suHBH+8AUvM= MIME-Version: 1.0 Received: by 10.204.52.130 with SMTP id i2mr1180820bkg.176.1237116328239; Sun, 15 Mar 2009 04:25:28 -0700 (PDT) In-Reply-To: <15e4667e0903131359j331246b7g601f69d7c29d2432@mail.gmail.com> References: <15e4667e0903131359j331246b7g601f69d7c29d2432@mail.gmail.com> Date: Sun, 15 Mar 2009 12:25:28 +0100 Message-ID: <6ed6382b0903150425q5d509370tb50cd915129a6361@mail.gmail.com> From: Krist van Besien To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] PRoblem with virtual host setup On Fri, Mar 13, 2009 at 9:59 PM, Dan Yamins wrote: > > When I run apachectl -S I get: > =A0=A0 [Fri Mar 13 16:56:45 2009] [warn] VirtualHost 127.0.0.1:80 overlap= s with > VirtualHost 127.0.0.1:80, the first has precedence, perhaps you need a > NameVirtualHost directive > =A0=A0 [Fri Mar 13 16:56:45 2009] [warn] NameVirtualHost *:80 has no > VirtualHosts > =A0=A0 VirtualHost configuration: > =A0=A0 127.0.0.1:80 =A0 =A0 =A0 =A0 =A0 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 blocks. If your NameVirtualHost statement reads: NameVirtualHost *:80 then your blocks must all be: You have however: 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 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 --=20 krist.vanbesien@gmail.com krist@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 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