Tom Schindl wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

and now without a typo :-(

Looks good, Tom. One question though: Why not just do:

<Files *\.html >
  PerlOutputFilterHandler Beso::OutFilterHandler
</Files>

or did you mean the patch to be just a demonstration of how to add a filter if you are already inside some pre-response phase handler?

+ <Files *\.html >
+ PerlFixupHandler MyApache::AddFilterDyn + </Files>
[...]
+  sub handler {
+    my $r = shift;
+
+    $r->add_output_filter(\&MyApache::FilterObfuscate::handler);
+
+    return Apache::OK;


--
__________________________________________________________________
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