httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Harrison ...@pixar.com>
Subject Re: why is my module being called for all pages?
Date Sun, 12 Aug 2007 22:47:31 GMT
Sander Temme wrote:
> 
> On Aug 12, 2007, at 3:13 PM, Mark Harrison wrote:
> 
>> warning: newbie alert!
> 
> We all were newbies once.
> 
>> I've got a simple module as detailed below.  I based it off
>> of the example module, stripping it down to the smallest
>> example I could.
>>
>> It seems to be working, but it is getting called on all
>> web pages.  Can someone loan me a clue as to:
>>
>> 1.  why it is being called on all pages, not just the
>>     one I've specified in <Location>?
> 
> All hooks are called for all requests.  For run-all hooks, the handlers 
> of all modules will be called.  For run-first hooks, hook handlers for 
> all modules are called until one returns something other than DECLINED.

Ah, that fixes it.  Thanks Sander and Frank!

Rgds,
Mark

Mime
View raw message