Re: Confused about modules processing order...

2012-06-26 Thread Sorin Manolache
On 2012-06-26 03:49, oh...@cox.net wrote: Hi, I have my small prototype module, which I implemented starting with the mod_headers.c source, working. The changes that I did to the original source were to add some code in the insert_filter hook to inject an additional header into the

Re: Confused about modules processing order...

2012-06-26 Thread ohaya
Sorin Manolache sor...@gmail.com wrote: On 2012-06-26 03:49, oh...@cox.net wrote: Hi, I have my small prototype module, which I implemented starting with the mod_headers.c source, working. The changes that I did to the original source were to add some code in the

Re: Confused about modules processing order...

2012-06-26 Thread Sorin Manolache
On 2012-06-26 13:14, oh...@cox.net wrote: Sorin Manolache sor...@gmail.com wrote: On 2012-06-26 03:49, oh...@cox.net wrote: Hi, I have my small prototype module, which I implemented starting with the mod_headers.c source, working. The changes that I did to the original source were

Re: Confused about modules processing order...

2012-06-26 Thread ohaya
Sorin Manolache sor...@gmail.com wrote: On 2012-06-26 13:14, oh...@cox.net wrote: Sorin Manolache sor...@gmail.com wrote: On 2012-06-26 03:49, oh...@cox.net wrote: Hi, I have my small prototype module, which I implemented starting with the mod_headers.c source,

Re: Confused about modules processing order...

2012-06-26 Thread ohaya
oh...@cox.net wrote: Sorin Manolache sor...@gmail.com wrote: On 2012-06-26 13:14, oh...@cox.net wrote: Sorin Manolache sor...@gmail.com wrote: On 2012-06-26 03:49, oh...@cox.net wrote: Hi, I have my small prototype module, which I implemented starting

Re: Confused about modules processing order...

2012-06-26 Thread ohaya
Sorin Manolache sor...@gmail.com wrote: On 2012-06-26 13:55, oh...@cox.net wrote: And for webgate, I see: Registering hooks for apache2entry_web_gate.cpp Hooked post_config Hooked handler Hooked check_user_id Hooked auth_checker The original

Re: Confused about modules processing order...

2012-06-26 Thread ohaya
oh...@cox.net wrote: Sorin Manolache sor...@gmail.com wrote: On 2012-06-26 13:55, oh...@cox.net wrote: And for webgate, I see: Registering hooks for apache2entry_web_gate.cpp Hooked post_config Hooked handler Hooked check_user_id

Re: Confused about modules processing order...

2012-06-26 Thread Sorin Manolache
On 2012-06-26 19:56, oh...@cox.net wrote: You cannot wait until mod_ssl runs its fixups, you have to hook one of the hooks that execute earlier than webgate's check_user_id or auth_checker. (You have to hook one of the hooks (1)-(4).) There, in your hook, you have to get yourself the values of

Re: ssl_var_lookup snippet was Re: Confused about modules processing order...

2012-06-26 Thread Sorin Manolache
On 2012-06-26 22:17, oh...@cox.net wrote: Sorin Manolachesor...@gmail.com wrote: On 2012-06-26 19:56, oh...@cox.net wrote: You cannot wait until mod_ssl runs its fixups, you have to hook one of the hooks that execute earlier than webgate's check_user_id or auth_checker. (You have to