FAQ

On 04/07/2006, at 17:30, Stas Bekman wrote:

Scott Penrose wrote:
Is this a request or a connection filter? It won't work as a
connection filter (r is not available there).
It is an ouptut filter.
But what output filter? There are two:
http://perl.apache.org/docs/2.0/user/handlers/
filters.html#HTTP_Request_vs__Connection_Filters
Ahhhh....

package Example::Expand;
use strict;
use warnings;
use Apache2::Filter ();
use Apache2::RequestRec ();
use Apache2::SubRequest ();
use APR::Table ();
use Apache2::Const -compile => qw(OK DECLINED);
use constant BUFF_LEN => 1024;

sub handler {
my $f = shift;
...
}

Then in my configuration I put:

PerlOutputFilterHandler Example::Expand

So by the look of the above - Output Filter

Scott

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 16 | next ›
Discussion Overview
groupmodperl @
categoriesmodperl, perl
postedJun 19, '06 at 1:34a
activeAug 8, '06 at 4:12a
posts16
users3
websiteperl.apache.org

People

Translate

site design / logo © 2018 Grokbase