[pubcookie-users] retrieving r->user in another apache2.0 module

Nathan Dors dors at cac.washington.edu
Wed Mar 14 08:24:45 PDT 2007


This might be fodder for the pubcookie-dev list. There has been 
some discussion over the years about hooks and load orders and, 
well, other possibly relevant topics I don't fully understand.

-Nathan

On Tue, 13 Mar 2007, Joe Edwards wrote:

> This is more general module question, but may be affected by mod_pubcookie. 
> I'm using a modified mod_evasive20.so to help us
> mitigate the effects of browser refreshes caused by stuck keyboard keys.
> (http://www.zdziarski.com/projects/mod_evasive/)
> A stuck F5 key generates some 20 hits/second. Our application
> can handle that almost every time...
>
> in mod_evasive20 r->user and r->ap_auth_type are null
> I thought that I could get mod_pubcookie to be invoked before
> mod_evasive by the following (but, no, r->user is still null):
>
> static void register_hooks(apr_pool_t *p) {
>  static const char * const aszPre[] = { "mod_pubcookie.c", NULL };
>  ap_hook_access_checker(access_checker, aszPre, NULL, APR_HOOK_LAST);
>  apr_pool_cleanup_register(p, NULL, apr_pool_cleanup_null,
>  destroy_hit_list);
> };
>
> Any hints??
>
> Thanks, Joe Edwards
> UWMC, ITS, Senior Computer Specialist
> _______________________________________________
> pubcookie-users mailing list
> pubcookie-users at u.washington.edu
> http://mailman1.u.washington.edu/mailman/listinfo/pubcookie-users
>


More information about the pubcookie-users mailing list