[EMAIL PROTECTED] wrote:

> Installing a filter that deals strictly with body data can be done during
> the insert_filter phase.  This is where output filters are commonly
> inserted into the chain.  Since this is always called before the handler
> phase, we are alright.

This doesn't work - the filter is inserted, but it never runs.

> This logically makes sense, because modules that
> handle request body data do so by calling ap_get_client_block in the
> handler phase.  So, as long as the input filter is inserted before the
> handler is called everything is okay.
> 
> Exactly what are you trying to do, and how is it not working?

If you use ap_add_input_filter() inside the ap_hook_insert_filter() hook
the filter doesn't run ever.

The HeaderIn directive allows you to add or alter incoming headers
before they are sent to modules like mod_proxy or mod_cgi.

Regards,
Graham
-- 
-----------------------------------------
[EMAIL PROTECTED]                "There's a moon
                                        over Bourbon Street
                                                tonight..."

S/MIME Cryptographic Signature

Reply via email to