RE: Applying mod_perl filters to content served from JBOSS

Rommel Sharma <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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:[email protected]] 
Sent: Tuesday, June 26, 2012 2:32 PM
To: Rommel Sharma
Cc: [email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.