On Mon, Mar 14, 2011 at 18:54, Joshua Marantz <[email protected]> wrote: > And in particular, adding an insert_filter hook sounds a little more complex > than the AP_FTYPE_RESOURCE+1 idea. Is there some advantage to using > insert_filter hook?
(fashionably late to the party) insert_filter lets you programmatically insert a filter right before the handler runs. It's the way to go if you have a filter that is in some way dependent on the side effects of one or more pre-handler hooks, like a fixup from mod_headers.
