On May 24, 2010, at 2:32 PM, Brandon Bensel wrote: > > On Mon, 24 May 2010 14:04:51 -0400, Andrew Mortensen <[email protected]> > wrote: >> Ah. It's probably because mod_access was renamed mod_authz_host in 2.2, > and >> mod_cosign is still referring to mod_access. Can you try the patch below? >> It's not ideal, but it might confirm the cause of the problem. >> >> andrew >> >> -- >> >> diff --git a/filters/apache2/mod_cosign.c b/filters/apache2/mod_cosign.c >> index 15589b4..8b5635d 100755 >> --- a/filters/apache2/mod_cosign.c >> +++ b/filters/apache2/mod_cosign.c >> @@ -1281,7 +1281,7 @@ static command_rec cosign_cmds[ ] = >> static void >> cosign_register_hooks( apr_pool_t *p ) >> { >> - static const char * const other_mods[] = { "mod_access.c", NULL }; >> + static const char * const other_mods[] = { "mod_authz_host.c", NULL > }; >> >> ap_hook_post_config( cosign_init, NULL, NULL, APR_HOOK_MIDDLE ); >> ap_hook_handler( cosign_handler, NULL, NULL, APR_HOOK_MIDDLE ); > > That fixes it. Looking at the docs and what that parameter is (modules that > should be run after it), it also finally makes sense why my guess worked. > Thanks a lot for your help!
I've got a slightly more intelligent patch in git. Can you pull and confirm it does the right thing for you? Thanks. andrew ------------------------------------------------------------------------------ _______________________________________________ Cosign-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cosign-discuss
