httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Caruso <>
Subject Re: Can't access module config from handler function
Date Sun, 14 Aug 2011 23:26:36 GMT

> Using it in a <Location> would suggest it's per_dir config.
>> I setup the shm in post_config hook:
>> ap_hook_post_config(post_config_hook, NULL, NULL, APR_HOOK_REALLY_FIRST);
> ... but per_dir config for your location doesn't exist at post_config time!
Now im sure this is not a problem related to per_dir config, i tried without the
<Location> directive.

If i make changes in module config inside "post_config" hook i see these
correctly in "translate_name" hook but NOT in the "ap_hook_handler", do someone
knows why??


View raw message