Re: Help with Method Handlers in mod_perl 1.99

2002-05-20 Thread Doug MacEachern

On Fri, 3 May 2002, Peter Rothermel wrote:

 I tried the mehod attribute and now I get this error:
 
 Error message:
Can't locate object method  via package Apache::AuthDerivedHandler.

method handlers were broken in _01, this has been fixed in cvs and will be 
in 1.99_02





Re: Help with Method Handlers in mod_perl 1.99

2002-05-03 Thread Geoffrey Young



Peter Rothermel wrote:

 Can somebody help me out with Method Handlers in
 Apache2 - mod_perl 1.99? I'm new to windows and its
 threading issues.


[snip]

 
 sub authenticate ($$) {
   my ($self, $r) = _;
   return OK;
 }

I haven't played much with mod_perl 2.0 yet, but I know that this format is deprecated 
now.

instead, try

sub authenticate : method {
   ...
}

and look for method handlers in design.pod and compat.pod

HTH

--Geoff




Re: Help with Method Handlers in mod_perl 1.99

2002-05-03 Thread Peter Rothermel

I tried the mehod attribute and now I get this error:

Error message:
   Can't locate object method  via package Apache::AuthDerivedHandler.



Geoffrey Young wrote:

 Peter Rothermel wrote:

  Can somebody help me out with Method Handlers in
  Apache2 - mod_perl 1.99? I'm new to windows and its
  threading issues.

 [snip]


  sub authenticate ($$) {
my ($self, $r) = _;
return OK;
  }

 I haven't played much with mod_perl 2.0 yet, but I know that this format is 
deprecated now.

 instead, try

 sub authenticate : method {
...
 }

 and look for method handlers in design.pod and compat.pod

 HTH

 --Geoff