Re: Applying mod_perl filters to content served from JBOSS

Torsten Förtsch <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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.