Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D6E7DCE7 for ; Sat, 18 Aug 2012 20:46:15 +0000 (UTC) Received: (qmail 31102 invoked by uid 500); 18 Aug 2012 20:46:14 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 31028 invoked by uid 500); 18 Aug 2012 20:46:14 -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 31020 invoked by uid 99); 18 Aug 2012 20:46:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Aug 2012 20:46:14 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rainer.jung@kippdata.de designates 195.227.30.149 as permitted sender) Received: from [195.227.30.149] (HELO mailserver.kippdata.de) (195.227.30.149) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Aug 2012 20:46:07 +0000 Received: from [10.0.110.6] ([192.168.2.104]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id q7IKjjTw008167 for ; Sat, 18 Aug 2012 22:45:46 +0200 (CEST) Message-ID: <502FFEF5.8060104@kippdata.de> Date: Sat, 18 Aug 2012 22:45:41 +0200 From: Rainer Jung User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: undesired modules loading References: <23D1F2DB-3D74-483F-86D6-BAF915A486A0@gbiv.com> In-Reply-To: <23D1F2DB-3D74-483F-86D6-BAF915A486A0@gbiv.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hi Roy, On 18.08.2012 22:07, Roy T. Fielding wrote: > I built 2.4.3 with the options > > ./configure \ > --prefix=$tdir \ > --with-apr=$adir \ > --with-apr-util=$adir \ > --without-ssl \ > --without-crypto \ > --disable-cache \ > --without-distcache \ > --enable-maintainer-mode ^^^^^^^^^^^^^^^^^^^^^^^^ see below > but then noticed in the error_log some garbage about > > [Sat Aug 18 12:26:23.182875 2012] [ssl:warn] [pid 82399:tid 140735220779360] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache] > [Sat Aug 18 12:26:23.183039 2012] [lbmethod_heartbeat:notice] [pid 82399:tid 140735220779360] AH02282: No slotmem from mod_heartmonitor > > which is undoubtedly because several modules are being built and loaded > that depend on certain options but do not get disabled by the lack > of those options in configure. > > IMO, none of the following modules should be configured by default: > > LoadModule file_cache_module modules/mod_file_cache.so ... > LoadModule dav_fs_module modules/mod_dav_fs.so > > The vast majority of installations do not want a f*(^ing proxy. > Building them is fine -- these should be commented out in the > installed httpd.conf unless --with-proxy is enabled. Yes, before 2.4.0 we introduced exactly this difference. All modules that were build get a LoadModule line in the installed config, but most are commented out. I don't have the list of modles active by default at hand though. > At the very least, modules dependent on SSL must not be loaded if > --without-ssl is the configure option. > > I don't consider this a showstopper for 2.4.3, but I do think they > are bugs in trunk and 2.4.x. Partial answer: the current semantics of maintainer-mode is (per configure help): "Turn on debugging and compile time warnings and load all compiled modules" In fact configure should output "Maintainer mode setting "LOAD_ALL_MODULES" to yes" It seems you can switch of this side effect of maintainer mode by explicitly adding "--enable-load-all-modules=no" to your configure flags. This is the default except for when building in maintainer mode. Regards, Rainer