httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Zhang <john_zzh...@yahoo.com>
Subject Re: apache 2.0.61 do not read config settings
Date Fri, 02 Nov 2007 15:44:00 GMT

--- "William A. Rowe, Jr." wrote:

> Is your cmd array listed in your module data
> section?
> 
yes.  Everything worked fine in apache 2.2.  The
structure looked like this:

static const command_rec mod_my_cmds[] = {
 AP_INIT_TAKEx("MyName", my_func, NULL, RSRC_CONF, "my
comments",
...,
{NULL}
};

module AP_MODULE_DECLARE_DATA my_module = {
STANDARD20_MODULE_STUFF,
...
mod_my_cmds,
register_hooks
};

my_func is declared and defined somewhere.  But
appears never called.



Mime
View raw message