Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 80083 invoked from network); 29 Oct 2006 16:46:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Oct 2006 16:46:49 -0000 Received: (qmail 50169 invoked by uid 500); 29 Oct 2006 16:46:50 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 49975 invoked by uid 500); 29 Oct 2006 16:46:49 -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 49964 invoked by uid 99); 29 Oct 2006 16:46:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Oct 2006 08:46:49 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jslive@gmail.com designates 66.249.82.226 as permitted sender) Received: from [66.249.82.226] (HELO wx-out-0506.google.com) (66.249.82.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Oct 2006 08:46:37 -0800 Received: by wx-out-0506.google.com with SMTP id s19so1303450wxc for ; Sun, 29 Oct 2006 08:46:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=O+r1xrgOGOcbPPQDv9lN4z6CTB6e71Ol2+j/3faZprhqsxpi2Eaq5wqDHumDptMVzQipHBegPdP254SdXLBoKzbgGzCsUmylOSUcbX90Uag3hhxTPuSWO/SKMB2+b5ze8TUMZ78z9gxXBoT7CQQvVwd5A6HQqYhH34WORWdXtFQ= Received: by 10.70.115.17 with SMTP id n17mr2991794wxc; Sun, 29 Oct 2006 08:46:16 -0800 (PST) Received: by 10.70.20.4 with HTTP; Sun, 29 Oct 2006 08:46:16 -0800 (PST) Message-ID: Date: Sun, 29 Oct 2006 12:46:16 -0400 From: "Joshua Slive" Sender: jslive@gmail.com To: users@httpd.apache.org In-Reply-To: <5674618.1162132959452.JavaMail.root@eastrmwml07.mgt.cox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5674618.1162132959452.JavaMail.root@eastrmwml07.mgt.cox.net> X-Google-Sender-Auth: ed8660db70041268 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Any problems deleting all "_default_" VirtualHosts? On 10/29/06, ohaya@cox.net wrote: > Hi, > > I was wondering if anyone has tried deleting/commenting out ALL of the "_default_" VirtualHost sections in httpd.conf/ssl.conf? > > Does doing this cause any problems with Apache? > > One of my colleagues has suggested that doing this helps secure Apache, because then Apache wouldn't process any requests that don't match our other sections, but my read of the Apache docs, e.g., http://www.apacheweek.com/issues/97-03-14, is that it doesn't prevent Apache from processing requests not matching any VirtualHost sections, but rather just causes Apache to process those requests from the "main server". You are correct. If a request doesn't match any NameVirtualHost directive and doesn't match any _default_ , then it will be served by the main server. > > Also, when we tried that (deleting the "_default_" sections), I *think* (but am not sure) that we may have been seeing some behavior where Apache would "slow down", i.e., serve content very slowly. No. It should make no difference in speed. Joshua. --------------------------------------------------------------------- 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