Forcing order of perl output filters

2008-04-28 Thread woinshet abdella
I have the following configuration in a PerlFixupHandler, $r->add_config([ 'PerlOutputFilterHandler BI::Apache::FilterBeforeIncludes', 'PerlSetOutputFilter INCLUDES', 'PerlOutputFilterHandler BI::Apache::FilterAfterIncludes']); I want the response to be processed by the filters in the order spec

Inserting the INCLUDES filter using r->add_output_filter()

2008-04-18 Thread woinshet abdella
I am using $r->add_output_filter() to insert a custom filter in the output filter chain dynamcially if a certain condition is satisfied. Here is a snippet of the script ... $r->add_output_filter(\&Apache::CustomFitler::handler); ... Is it possible to use $r->add_output_filter() to insert the INCL

Re: filter->remove

2008-04-18 Thread woinshet abdella
- Original Message From: Torsten Foertsch <[EMAIL PROTECTED]> To: modperl@perl.apache.org Cc: woinshet abdella <[EMAIL PROTECTED]> Sent: Friday, April 18, 2008 9:39:58 AM Subject: Re: filter->remove On Fri 18 Apr 2008, woinshet abdella wrote: > Can't locate Ap

Re: filter->remove

2008-04-18 Thread woinshet abdella
- Original Message From: Torsten Foertsch <[EMAIL PROTECTED]> To: woinshet abdella <[EMAIL PROTECTED]> Cc: modperl@perl.apache.org Sent: Friday, April 18, 2008 3:35:02 AM Subject: Re: filter->remove On Thu 17 Apr 2008, woinshet abdella wrote: > I am sorry to write

Removing an output filter handler from the filters chain

2008-04-14 Thread woinshet abdella
Hello, I have a perl output filter handler that processes the element of html documents, after I am done with processing element, I want to remove the output filter handler from the output filters chain so that we do not process the remaining bucket brigades to improve performance. Here is t

Re: Invoking an OutputFilterHandler for a particular User-Agent

2008-03-28 Thread woinshet abdella
gt; To: modperl@perl.apache.org Cc: woinshet abdella <[EMAIL PROTECTED]> Sent: Friday, March 28, 2008 10:10:20 AM Subject: Re: Invoking an OutputFilterHandler for a particular User-Agent On Fri 28 Mar 2008, woinshet abdella wrote: > PerlRequire /usr/local/libexec/perl/startup.pl >

Invoking an OutputFilterHandler for a particular User-Agent

2008-03-28 Thread woinshet abdella
Hello, I have added the following configuration in httpd.conf file to insert an output filter handler into the output filters chain for processing .html files before sending them to the client. ... PerlRequire /usr/local/libexec/perl/startup.pl PerlModule Apache::CustomFilterTitle PerlO