Pringle, Chris (HP-PSG) wrote:
Thanks for this. I had put 'PerlInputFilterHandler
iPAQApache::ResetBrowser' inside the proxy block, and it should have
been outside like you said.

So it did work this time, right? Perhaps we should issue a warning if a connection filter is found insider <Location> or alike.


PerlInputFilterHandler iPAQApache::ResetBrowser

Is this the correct directive?


The directive is correct, but you don't show your code and your config,
so I have no idea if the rest is correct or not. This directive is used to configure both, connection and request level filters. It's the attribute
of the handler subroutine is what makes the difference and the placement in


httpd.conf.

You need to declare it as:

package iPAQApache::ResetBrowser;
use base qw(Apache::Filter);
sub handler : FilterConnectionHandler { your code is here }
1;

and you need to put it outside of <Location> or similar block in
httpd.conf just like shown at:
http://perl.apache.org/docs/2.0/user/handlers/filters.html#Connection_In
put_Filters


Also make sure that you run at least mod_perl 1.99_09, or even better
the current cvs. And in the future please follow the info at http://perl.apache.org/bugs/ so we know more about your setup.

__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com



Reply via email to