Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 52572 invoked by uid 500); 10 Jul 2002 17:52: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: Delivered-To: mailing list dev@httpd.apache.org Delivered-To: moderator for dev@httpd.apache.org Received: (qmail 24223 invoked from network); 10 Jul 2002 16:03:47 -0000 Date: Wed, 10 Jul 2002 18:02:49 +0200 From: Harrie Hazewinkel To: dev@httpd.apache.org Subject: Re: The word on: adding modules Message-ID: <1689009.1026324169@localhost> In-Reply-To: References: X-Mailer: Mulberry/2.2.1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N HI, I am probably not speaking for most of the modules. I have been doing patching of Apache forever, since otherwise certain information/functionality from Apache cannot be done in an SNMP managed way by MOD-SNMP. Harrie --On Wednesday, July 10, 2002 12:26 PM +0200 dirkx@covalent.net wrote: > > Right now, as devlopers, we have a whole range of methods of adding in a > module; from hacking it in, copying it into an existing modules/* > directory (e.g. auth, mappers), APXS all the way, down to its own > directory with a little config.m4. > > When documenting 'How to add your modules to apache 2.0' what should be > official word - i.e. what do we want the instructions on a random > modules.apache.org or sourceforge module to say: > > 1. APXS prefered > > apxs -c mod_foo.c bar.c comms.c > I would think that the most prefered method could be APXS. WHy do I think this?? 1) For most users it is simple to do: ./configure --enable-module=so ; make ; make install Followed by building a module with APXS. 2) On some systems their is now an Apache already available and thus also APXS. On those systems an user adding a module can easily use APXS without any fiddling in Apache code/directories. > Or, if you need it, > > 2. module/foo directory with Makefile.in/config.m4 This would always require a user to compile a module with compiling Apache as well. APXS could avoid this, if he can retrieve binaries somewhere else of Apache (like is provided by some companies) > > as to allow more Configure(ation) also for the simple case ? I am looking > for 'the word' :-) as right now the 1.3 situation is messy: dso, static, > apxs, hack modules,c - and would like to some more guidance for 2.0. > > Opinions ? Fears ? OK, the above opinion does not mean that I think patching should not be done to the apache core. From a viewpoint of MOD-SNMP, I still will do it, unless some parts of the code will be made in such a way that modules can dynamically change/tune the configuration without restarting the server. (This is not ment to start discussing dynamic configuration without restarting, since I know that manye of you oppose this anyway. With or without good reasoning from those.) Harrie Internet Management Consulting mailto:harrie@mod-snmp.com http ://www.mod-snmp.com/ ------------------------------------------------------------------- Author of MOD-SNMP, enabling SNMP management to the Apache server.