httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier Sagrera" <>
Subject Re: Clarification on how check_user_id hook works
Date Tue, 10 Oct 2006 12:39:56 GMT
So, i can write my modules, based on modules that i know will have a 
"conflict" with mine using the "if ..."
but that is a little limited, i just find strange that you dont have control 
of the order in which the functions are call,
And even more strange, that the inclusion of a function registered with 
FIRST, will change the order too.


"Nick Kew" <> wrote in message
> On Tuesday 10 October 2006 09:33, Javier Sagrera wrote:
>> I can't see that using the 2nd and 3rd argument would be a proper 
>> solution,
>> then you will need to write
>> you module based in what other module you have loaded in your apache 
>> which
>> doesnt look quite good idea to me.
> Nope.  Those are to say "if mod_foo is loaded, then be sure to run 
> mod_foo's
> hook in this position before|after mine".  It'll work perfectly well (and 
> just
> not do anything) if mod_foo is not loaded.
> -- 
> Nick Kew
> Application Development with Apache - the Apache Modules Book

View raw message