Thanks for the note, but I'm not sure whether the documentation is consistent. Besides saying "The
SetHandler
directive is
only relevant for
response phase handlers", the documentation says to use 'SetHandler
modperl' when you want to use PerlSetVar and $r->dir_config, which
is what I do.Anyway the filter won't work without 'SetHandler modperl'...
Michael
Stas Bekman wrote:
Perrin Harkins wrote:
On Thu, 2004-03-25 at 06:45, Michael Franken wrote:
<Location />
SetHandler modperl
PerlOutputFilterHandler Mike::Filter
PerlSetVar FilterSource localhost:86
PerlAddVar FilterDestination mail.franken.ws:80
</Location>
Silly question: is this right, using SetHandler modperl when mod_perl is
just being used for filtering?
Yes, it's wrong.
SetHandler affects only the response phase.
http://perl.apache.org/docs/2.0/user/config/config.html#C_SetHandler_
__________________________________________________________________
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
--
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
drs. Michael Franken
senior consultant
Xebia bv, Melkweg 23a, 1251PP Laren, The Netherlands, www.xebia.com
office: +31-35-5381921, mobile: +31-651 149 132, [EMAIL PROTECTED]
office: +31-35-5381921, mobile: +31-651 149 132, [EMAIL PROTECTED]