On Tue, Jun 12, 2001 at 10:59:42AM -0700, Harrie Hazewinkel wrote:
> I am trying to understand as well the new module code
> mod_mgmt.c and mod_mgmt.h as well the patch.

Those two files haven't been submitted for addition. I think it is a
separate question.

However...

>...
> 1) Is the approach you have based upon handling a request??
> At the moment a request is handled you execute this hook??

mod_mgmt runs the hook in response to an HTTP request. Yes.

> 2) Can I only get management data via the new hook??
> I.E. do I always have to run thru this hook and get everything??
> 
> If these 2 questions are answered YES. It will create a problem
> for management applications which are not HTTP-request based
> and this solution will not work with SNMP.

Anybody can run the hook at any time. It doesn't have to be in response to
an HTTP request. mod_mgmt is a particular user of the hook. mod_snmp could
also run the hook.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Reply via email to