Skip Menu |

This queue is for tickets about the Apache-AuthCookie CPAN distribution.

Report information
The Basics
Id: 91740
Status: resolved
Priority: 0/
Queue: Apache-AuthCookie

People
Owner: Nobody in particular
Requestors: x.guimard [...] free.fr
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From: x.guimard [...] free.fr
Subject: libapache2-authcookie-perl: After upgrading to Apache 2.4 the variable $r doesn't work anymore
Hi, this bug has been forwarded from http://bugs.debian.org/718432 -->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->--> Subject: After upgrading to Apache 2.4 the variable $r doesn't work anymore Package: libhtml-mason-perl Version: 1:1.51-1 Severity: normal A line like this, in one of the pages: my $cookie = $r->auth_type->key($r); leads to this error: Can't locate object method "key" via package "none" -- System Information: Versions of packages libhtml-mason-perl depends on: ii libcache-cache-perl 1.06-2 ii libclass-container-perl 0.12-3 ii libexception-class-perl 1.32-1 ii libhtml-parser-perl 3.71-1 ii liblog-any-perl 0.15-1 ii libparams-validate-perl 1.06-1 ii perl 5.14.2-21 <--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<-- Thanks in advance, Xavier Guimard, Debian Perl Group
Hi. Sorry for not getting back to you sooner about this. Looking at the upstream debian bug, it appears you are no longer having this problem. Your description of the problem sounds like a configuration issue, not an AuthCookie issue. If you do not set AuthType for the context of the current request, then $r->auth_type does return (none). This is just how apache does it. Note that apache 2.4 has a radically different API for authentication, and it is not likely that your existing configuration from apache 2.2 or earlier will work without adjustment. Patches are required not only to AuthCookie, but to other modules such as Apache::Test in order to make the test suite pass in order to even install AuthCookie under Apache 2.4 at this time. Let me know if you are still having problems. Regards, Michael Schout