Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 15040 invoked from network); 4 Aug 2010 21:01:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Aug 2010 21:01:02 -0000 Received: (qmail 63636 invoked by uid 500); 4 Aug 2010 21:01:02 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 63425 invoked by uid 500); 4 Aug 2010 21:01:01 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 63417 invoked by uid 99); 4 Aug 2010 21:01:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 21:01:01 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of graham.dumpleton@gmail.com designates 209.85.210.45 as permitted sender) Received: from [209.85.210.45] (HELO mail-pz0-f45.google.com) (209.85.210.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 21:00:54 +0000 Received: by pzk10 with SMTP id 10so2171387pzk.18 for ; Wed, 04 Aug 2010 14:00:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=A5iuGXRJNLp9Iv7D5Nd+meHFG4CqPW8ZPTShz0rx9X8=; b=L+/KfIi7zSUtyJ6RAmegvNl7zsZ/gDVob5kS4WEgK8eaGbfu09pzh3lGJukFeYboPC S3ierWGxTsZKUzQidgbo3/nVCSvvEkMwZRZJujK7YKBcBM/QV8+H+lNYy25NB04xpySG OfOgI3q6QBb+t7m7Ji+Cso8ojgGqyWY2rl00s= 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; b=DxfMRJKuQ1iMOa03Ywi4jy90IDu0BNnVogWsOYJ4nB9wrVLluiLD4kZO0dgx9ME5Hz 5+rBtiEIq/QmNUqt+jckwkIiVqhshggFuphCOwbOfNdbJcd5bt9zJiCkmb0n9WuRNdQW tvuG6ZSSQ0Fyelk87BRL6f5TXeE0blJ5b6Pf8= MIME-Version: 1.0 Received: by 10.142.171.9 with SMTP id t9mr8225115wfe.320.1280955633186; Wed, 04 Aug 2010 14:00:33 -0700 (PDT) Received: by 10.142.166.5 with HTTP; Wed, 4 Aug 2010 14:00:33 -0700 (PDT) In-Reply-To: <201008042157.26413.sf@sfritsch.de> References: <201008042157.26413.sf@sfritsch.de> Date: Thu, 5 Aug 2010 07:00:33 +1000 Message-ID: Subject: Re: Failing startup for vhost configuration problems From: Graham Dumpleton To: "dev@httpd.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Thursday, August 5, 2010, Stefan Fritsch wrote: > On Tuesday 03 August 2010, Dan Poirier wrote: >> I'd like to propose that in 2.3/2.4, we fail startup for any of the >> virtual host misconfigurations for which behavior is undefined but >> right now we only issue a warning. >> >> E.g. no VirtualHosts matching a NameVirtualHost, overlapping >> VirtualHosts, use of _default_ in NameVirtualHost, mixing * and >> non-* ports in name-based virtual hosts. >> >> The rationale is that these configurations are unsupported, the >> behavior is undefined, and presumably they are the result of >> errors, so better to make sure the admin corrects the error than >> to continue and probably not behave as the admin expects. >> >> A new major version seems like a good time for a change like this. > > Makes sense. If one of the restriction turns out to be too painful in > practice, we can always allow that case again. Perhaps warnings around bad MPM configuration can be reviewed as well. >From memory it doesn't at the moment warn you when something like StartServers is set over what it can be based on MaxClients and ThreadsPerChild. I think it may just silently reduce the value. Since MPM settings are often misunderstood, better hints about bad configuration there would be useful. Graham