Hi,
I have an Apache 1.3 setup where a C module does some stuff during the HeaderParser phase. I'd like to conditionally disable this.
My first thought was to write a mod_perl handler for the HeaderParser phase, that runs before the C handler, and if it should be disabled, returns 'OK' from the handler, meaning no other handlers execute during this phase. However, it seems this only works in
certain phases, not including HeaderParser (all registered handlers get executed, regardless of what they return).
Is there anyway I can prevent the C handler from running?
After my handler has disabled the C handler, I need Apache to run the rest of the request process as per normal (including any other custom handlers that may be defined). I can't modify the C handler (it's 3rd party code).
Thanks in advance.