perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rommel Sharma <rsharm...@sapient.com>
Subject RE: Applying mod_perl filters to content served from JBOSS
Date Tue, 26 Jun 2012 13:47:05 GMT
Hi Torsten, 

removing 
>     SetHandler mod_perl

worked! Both jboss and apache htdocs data are being filtered as expected. Thanks again, for
all the time and inputs!!!

Thanks,
Rommel.

-----Original Message-----
From: Torsten Förtsch [mailto:torsten.foertsch@gmx.net] 
Sent: Tuesday, June 26, 2012 2:32 PM
To: Rommel Sharma
Cc: modperl@perl.apache.org
Subject: Re: Applying mod_perl filters to content served from JBOSS

On 06/26/2012 09:46 AM, Rommel Sharma wrote:

> <Location ~ "/(staticweb|jbossweb)">
> 
>     SetHandler modperl

You don't need that. SetHandler declares the response handler. But your
response is generated either by the default handler for static content
or by mod_jk. "SetHandler modperl" should be used only if there is also
a PerlResponseHandler or simpler PerlHandler set for the location.

SetHandler tells the Apache who or which module is responsible for
generating the response. Nothing else.

>     PerlOutputFilterHandler MyOutputHandlers::CustomFilterResponse
> 
>     allow from all
> 
> </Location>
> 

Torsten

Mime
View raw message