On Wed, Sep 25, 2002 at 03:24:32PM -0700, Will Hartung wrote: > It is not at all clear to me using the new 2.0 modules how I associate the > different names to our module. I see the ap_hook_handler(), but it only > wants the function, and doesn't seem to have a way of binding a name to that > function.
It doesn't. All handlers are invoked on all requests. So, there is no relationship between the invocation of a handler and whether it needs to run. The handler must check whether its handler string is the same as r->handler. If not, it is expected to return DECLINED. > I also noticed within the mod_example, that they check the actual handler > name when the function is called. Is that necessary? Is that the actual > mechanism? Yes. -- justin
