Martin Wickman wrote:
Hello
The short version:
How can I force my mod_perl Authen-handler to run after mod_auth and not before it?
in Apache 1.3 you could control this with CleanModuleList/AddModule, but those directives don't exist in 2.0. I think the only way to do it in 2.0 is to change modperl_hooks.c and recompile.
try changing this
ap_hook_authen(modperl_authen_handler, NULL, NULL, APR_HOOK_FIRST);
to this
ap_hook_authen(modperl_authen_handler, NULL, NULL, APR_HOOK_LAST);
HTH
--Geoff