perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hedges <hed...@scriptdolphin.org>
Subject Re: Capturing Apache response
Date Fri, 13 Feb 2009 18:07:22 GMT



On Tue, 10 Feb 2009, Solutio at Gmail wrote:

> First of all, I thank you both for your expert opinion on the topic. I have
> never had to fiddle with this sort of Apache customization, so I'm learning in
> the process...
>
> As for the way to communicate the file name to the filter, sure, we would like
> to keep it as simple as possible and avoid pitfalls. I agree that Perl is a
> powerful tool that can easily screw many things up if applied carelessly.
>
> I guess if we properly implement the custom header option, it shouldn't become
> a problem. We'll give it a try.

To recap, you shouldn't use the custom header, you should
probably use $r->pnotes or maybe $c->pnotes to store the
information from the beginning to be accessed at the end.
This is what the pnotes tables are for.  Don't mess with the
headers.  Headers are for communicating with the client.

Mark

Mime
View raw message