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