Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 1081 invoked by uid 500); 31 Dec 2000 15:00:50 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 1070 invoked from network); 31 Dec 2000 15:00:50 -0000 Errors-To: From: "William A. Rowe, Jr." To: Subject: RE: Order of handlers Date: Sun, 31 Dec 2000 09:01:24 -0600 Message-ID: <000a01c0733a$8bf2daa0$92c0b0d0@roweclan.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <3A4F3E29.F2AFAF37@algroup.co.uk> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > From: Ben Laurie [mailto:ben@algroup.co.uk] > Sent: Sunday, December 31, 2000 8:10 AM > > > > From: Ben Laurie [mailto:ben@algroup.co.uk] > > > Sent: Sunday, December 31, 2000 7:04 AM > > > > > > Anyway, I propose that, like hooks, handlers should be able to specify > > > their relative order, when they feel like it. And I think I'm > > > volunteering to make the change :-) > > > > Do you plan to provide an 'override' such that module authors, especially, > > can force a reorg? Let us suppose we have modules that are round-robin, such as authorization. Wouldn't it make sense to allow the administrator to 'push' an authorization module before or after another such module? > I don't understand what you mean by this. Expecially for module authors who are trying to determine the side-effects of their module's placement. Sure beats recompiling dozens of times. > > Heck, maybe an .html on "Why does Apache order modules > > thusly, and where should I stick my module?" > > I'm trying to eliminate the need to answer that question... Understood ... module authors still need to understand the concept. What about a delta argument after the addmodule/loadmodule modname argument? So if it's +3, I'm moving it's order by 3 (forward? backwards? good q.) If a module publisher is trying to accomplish something specific, they can document what to set that arg, and why, and what the side effects are.