httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Lewis <...@joe-lewis.com>
Subject Re: "one module per task"
Date Mon, 09 Apr 2007 14:39:15 GMT
Sam Carleton wrote:
> When Apache sees
>
> <Location /coolapp>
>   SetHandler mod_my_cool_app
> <Location>
>
> How does it know that mod_my_cool_app is associated with
> mod_my_cool_app.so?  Is it purely from the LoadModule or is there
> something in the module that I am missing?

It doesn't.  Simply mod_my_cool_app.so has a function which checks the 
handler, and either completes the request or returns 'DECLINED" so that 
another module can handle the request.

Joe
-- 
Joseph Lewis <http://sharktooth.org/>
"Divide the fire, and you will sooner put it out." - Publius Syrus

Mime
View raw message