httpd-modules-dev mailing list archives

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

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",
                                                          "mod_vhost_alias.c",
		                 			  "mod_alias.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,

 Fabrice

Mime
View raw message