Re: Using a handler other than 'handler'

2010-10-01 Thread Michel Jansen
Cédric, Je schreef: Hello, I apologize for such a trivial question, but I'd like to use a function other than "handler" as a perl handler. According to the doc, it was possible in mod_perl 1, but I can't manage to get it to work under mod_perl 2. I am using Apache2::RequestRec which fine

Re: Using a handler other than 'handler'

2010-09-27 Thread Michael Peters
On 09/27/2010 05:17 AM, Cédric Bertolini wrote: PerlAuthenHandler Authen::special doesn't work. It worked in mod_perl 1, but mod_perl 2 complains that it can't find Authen/special.pm in @INC. That's not what he suggested. He said: PerlAuthenHandler Authen->special Tr

Re: Using a handler other than 'handler'

2010-09-27 Thread Cédric Bertolini
@John Thanks for the reply, but PerlAuthenHandler Authen::special doesn't work. It worked in mod_perl 1, but mod_perl 2 complains that it can't find Authen/special.pm in @INC. @André, Thanks for the reply. I was reluctant to use this solution because of the OOC orientation of this syntax, but

Re: Using a handler other than 'handler'

2010-09-27 Thread André Warnier
Hi. You can use PerlAuthenhandler Your::Module->special See http://perl.apache.org/docs/2.0/user/coding/coding.html#Techniques Cédric Bertolini wrote: @Michel, Thanks for the reply. As far as I know, Apache2::RequestRec is a module that provides several functions to manage the $request obj

Re: Using a handler other than 'handler'

2010-09-27 Thread Cédric Bertolini
@Michel, Thanks for the reply. As far as I know, Apache2::RequestRec is a module that provides several functions to manage the $request object provided by mod_perl (http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html). It's not really a handler, though most handlers use this module one way