Re: Problem with Apache2::AuthCookie and Apache 2.4: "failed to resolve handler"

Brian Candler <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On 25/06/2014 13:41, Brian Candler wrote:
> I notice that there is a newer version of Apache2::AuthCookie (3.22) 
> available, so I installed that from CPAN. But this changes the error to:
>
> [Wed Jun 25 13:35:26.054231 2014] [perl:error] [pid 17668] [client 
> 10.0.2.2:50801] Can't locate object method "requires" via package 
> "Apache2::RequestRec" at 
> /usr/local/share/perl/5.18.2/Apache2/AuthCookie.pm line 388.\n, 
> referer: http://localhost:8013/testsite/protected/example.html
>
> and indeed, I see no 'requires' member in 
> http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html
>
Based on git://github.com/mschout/apache-authcookie.git
and "git diff v3.20 v3.22" I'd say that that 3.22 was little more than 
reverting 3.21

The CPAN and github versions of 3.22 are very similar (minor differences 
in POD sections)

but diff -u /usr/share/perl5/Apache2/AuthCookie.pm 
/usr/local/share/perl/5.18.2/Apache2/AuthCookie.pm
shows that Ubuntu's version is very different to the CPAN/github one.

I'm stumped now.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.