Stas Bekman wrote:
Thanks Stas. However the latest cvs co (as 10 minutes ago) returns this error testing:Brian Millett wrote:Hi, I've just about got the Apache::AuthCookieDBI to work with Apache 2.0.44 & mod_perl 1.99_09-dev, but I ran into a problem with the $r->connection object not having "auth_type" or "user" defined. The $r->auth_type work just fine. Are these the same reference? What should I look for, or use?
They don't live in the connection record in 2.0, only in the request record. I've added Apache::compat methods for backwards compatibility. Notice that you need to set up:
PerlOptions +GlobalRequest
for that location.
Either use the latest modperl-2.0 cvs or apply this patch to get the functionality:
http://marc.theaimsgroup.com/?l=apache-modperl-cvs&m=104509336821414&w=2
compat/conn_authen.............NOK 1# Failed test 1 in compat/conn_authen.t at line 11
compat/conn_authen.............FAILED test 1 Failed 1/1 tests, 0.00% okay
From the error_log:
[Thu Feb 13 09:10:04 2003] [error] [client 127.0.0.1] Can't locate object method "auth_type" via package "Apache::Connection" at /home/bpm/compile_area/cvs_apache/modperl-2.0/t/response/TestCompat/conn_authen.pm line 25.
This is against http-2.0.44 on a solaris 9 box with gcc version 3.1.
--
Brian Millett Enterprise Consulting Group "Shifts in paradigms
(314) 205-9030 often cause nose bleeds."
[EMAIL PROTECTED] Greg Glenn