On Tuesday 11 September 2001 16:01, Brian Wheeler wrote:
> On Tue, 2001-09-11 at 06:41, Matt Sergeant wrote:
> > You could always add in a blank AxOutputTransformer, which will force
> > AxKit to just use print(), even for cached content.
>
> I don't see AxOutputTransformer in the docs...do you have an example
> which would do this?
>
> (the $r->headers_out->unset didn't work)

Off the top of my head:

package MyDeleteLMod;

sub del {
    Apache->request->headers_out('do whatever'); # not sure this is needed
    return @_;
}
1;

then in httpd.conf:

PerlModule MyDeleteLMod
AxAddOutputTransformer MyDeleteLMod::del

I'm not sure you need to actually munge the headers if you do that or if 
it'll influence AxKit's caching by itself (it always runs after caching).

-- 
_______________________________________________________________________
Robin Berjon <[EMAIL PROTECTED]> -- CTO
k n o w s c a p e : // venture knowledge agency www.knowscape.com
-----------------------------------------------------------------------
Smoking is one of the leading causes of statistics.

Reply via email to