Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 9617 invoked from network); 25 Apr 2009 13:15:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Apr 2009 13:15:34 -0000 Received: (qmail 33864 invoked by uid 500); 25 Apr 2009 13:15:31 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 33822 invoked by uid 500); 25 Apr 2009 13:15:30 -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 33813 invoked by uid 99); 25 Apr 2009 13:15:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Apr 2009 13:15:30 +0000 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.213 as permitted sender) Received: from [209.85.218.213] (HELO mail-bw0-f213.google.com) (209.85.218.213) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Apr 2009 13:15:24 +0000 Received: by bwz9 with SMTP id 9so2478266bwz.24 for ; Sat, 25 Apr 2009 06:15:02 -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=0wf5fiFGsN1qyP4m0D15uafTl7mdMZ6B54//tiAQaZY=; b=ZsKzZSM6IkCFts3n7UippNBu6Mh3Lgk9sN7CdUP7XWL2qlmi7kZOx8jgxEedYN5PM1 GiaCCXLoIMtKwr6uiRAORTus7BsyUTxqPBYRAI7NHvZMotJV1eSataTMMQL65cpAx2vN /MN77jsZelmCgbANmy8Pq8Q04ALyEfBB5ylk0= 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=IU4RiZjZMnggHZSQk6Gu7k1OyuStwvNU2E3mWmqdSsgBaFSldL/XQz4S31aEV1V6G4 JkVCS8DNCCiSFWZ4wbO+aZrw9RLbV3+EsdafbxMPo9AwioZhkuxGFCkOD90Au3swQc31 Uu6mVYtD14t4ksHoApqvUI3IormnmdgApfP9s= MIME-Version: 1.0 Received: by 10.204.57.138 with SMTP id c10mr3170659bkh.56.1240665302568; Sat, 25 Apr 2009 06:15:02 -0700 (PDT) In-Reply-To: <23224080.post@talk.nabble.com> References: <23224080.post@talk.nabble.com> Date: Sat, 25 Apr 2009 15:15:02 +0200 Message-ID: <6ed6382b0904250615q3906c80fncda6235f8c059768@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] Understand "httpd -t -D DUMP_VHOSTS" On Fri, Apr 24, 2009 at 10:13 PM, jeff00seattle wrote: > > Presented is the output of httpd -t -D DUMP_VHOSTS. > > Why does every NameVirtualHost reference its configuration twice; one for > the default server and the other for the port #### namevhost? > And why do all NameVirtualHost(s) have a default server reference, which > seems conflicting. > > httpd -t -D DUMP_VHOSTS Output: > VirtualHost configuration: > wildcard NameVirtualHosts and _default_ servers: > _default_:443 =A0 =A0 =A0 =A0 =A0localhost (/etc/httpd/conf.d/ssl.conf:81= ) > *:8085 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 is a NameVirtualHost > =A0 =A0 =A0 =A0 default server project_site.admin.8085 > (/etc/httpd/conf/extras/virtual-host.project_site.admin.8085.conf:23) > =A0 =A0 =A0 =A0 port 8085 namevhost project_site.admin.8085 > (/etc/httpd/conf/extras/virtual-host.project_site.admin.8085.conf:23) > *:8080 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 is a NameVirtualHost > =A0 =A0 =A0 =A0 default server project_site.dev.8080 > (/etc/httpd/conf/extras/virtual-host.project_site.dev.8080.conf:28) > =A0 =A0 =A0 =A0 port 8080 namevhost project_site.dev.8080 > (/etc/httpd/conf/extras/virtual-host.project_site.dev.8080.conf:28) > *:80 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 is a NameVirtualHost > =A0 =A0 =A0 =A0 default server project_site.demo.80 > (/etc/httpd/conf/extras/virtual-host.project_site.demo.80.conf:35) > =A0 =A0 =A0 =A0 port 80 namevhost project_site.demo.80 > (/etc/httpd/conf/extras/virtual-host.project_site.demo.80.conf:35) You have three ports with one host one each. You're not using name based virtual hosts at all, but have defined "NameVirtualHost" for each of your ports. Therefore apache will list for each port: - De default vhost - All defined vhosts. Because you only have one virtualhost defined per port it gets menioned twice, that is all. 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