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

2012-06-27 Thread ohaya
"William A. Rowe Jr." wrote: > On 6/26/2012 3:17 PM, oh...@cox.net wrote: > > > > Sorin Manolache 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'

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

2012-06-27 Thread William A. Rowe Jr.
On 6/26/2012 3:17 PM, oh...@cox.net wrote: > > Sorin Manolache 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

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

2012-06-26 Thread ohaya
Sorin Manolache wrote: > On 2012-06-26 22:17, oh...@cox.net wrote: > > > > Sorin Manolache 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_u

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 Manolache 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 hook one of the hook

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

2012-06-26 Thread ohaya
Sorin Manolache 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 hook one of the hooks (1)-(4).) There, in > >

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 th

Re: Confused about modules processing order...

2012-06-26 Thread ohaya
oh...@cox.net wrote: > > Sorin Manolache 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 handle

Re: Confused about modules processing order...

2012-06-26 Thread ohaya
Sorin Manolache 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 > > H

Re: Confused about modules processing order...

2012-06-26 Thread Sorin Manolache
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 mod_headers code has a hook for fixups. If I added an "after" st

Re: Confused about modules processing order...

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

Re: Confused about modules processing order...

2012-06-26 Thread ohaya
Sorin Manolache wrote: > On 2012-06-26 13:14, oh...@cox.net wrote: > > > > Sorin Manolache 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. T

Re: Confused about modules processing order...

2012-06-26 Thread Sorin Manolache
On 2012-06-26 13:14, oh...@cox.net wrote: Sorin Manolache 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 i

Re: Confused about modules processing order...

2012-06-26 Thread ohaya
Sorin Manolache 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 insert_filter h

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 request.

Re: Confused about modules processing order...

2012-06-25 Thread ohaya
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 request. >

Confused about modules processing order...

2012-06-25 Thread ohaya
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 request. That seems to work ok with a "vanilla" Apa