httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <>
Subject Re: Multiple handlers within a module?
Date Wed, 02 Oct 2002 13:57:00 GMT
Justin Erenkrantz <> writes:

> 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

This thread is definitely a FAQ. Anybody up to sticking it here?

Jeff Trawick |
Born in Roswell... married an alien...

View raw message