httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabrice Desre <>
Subject post_config hook issue
Date Thu, 29 Jan 2009 14:27:12 GMT

I'm trying to use the post config hook in my module to initialize
shared data, with no success.

static void mymod_register_hooks(apr_pool_t *p) {
    static const char * const aszSucc[]={ "mod_userdir.c",
							  NULL };
   ap_hook_handler(mymod_handler, NULL, NULL, APR_HOOK_MIDDLE);
   ap_hook_post_config(mymod_global_init, NULL, NULL, APR_HOOK_MIDDLE);

The request handler is called as expected, but the mymod_global_init
is never called. What did I miss ?

 Thanks for your help,


View raw message