dougm 2002/06/06 09:45:41
Modified: src/modules/perl mod_perl.c
Log:
need to run open_logs,post_config,child_init hooks APR_HOOKS_FIRST so
they are run before those in modperl_hooks.c
Revision Changes Path
1.123 +3 -3 modperl-2.0/src/modules/perl/mod_perl.c
Index: mod_perl.c
===================================================================
RCS file: /home/cvs/modperl-2.0/src/modules/perl/mod_perl.c,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- mod_perl.c 4 Jun 2002 16:16:50 -0000 1.122
+++ mod_perl.c 6 Jun 2002 16:45:41 -0000 1.123
@@ -530,10 +530,10 @@
NULL, NULL, APR_HOOK_MIDDLE);
ap_hook_open_logs(modperl_hook_init,
- NULL, NULL, APR_HOOK_MIDDLE);
+ NULL, NULL, APR_HOOK_FIRST);
ap_hook_post_config(modperl_hook_post_config,
- NULL, NULL, APR_HOOK_MIDDLE);
+ NULL, NULL, APR_HOOK_FIRST);
ap_hook_handler(modperl_response_handler,
NULL, NULL, APR_HOOK_MIDDLE);
@@ -576,7 +576,7 @@
NULL, NULL, APR_HOOK_FIRST);
ap_hook_child_init(modperl_hook_child_init,
- NULL, NULL, APR_HOOK_MIDDLE);
+ NULL, NULL, APR_HOOK_FIRST);
modperl_register_handler_hooks();
}