[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: AuthDBI & Apache 2.2 & mod_perl 2


Looking at Apache::AuthDBI's doc's doesn't show any not about whether it
does or doesn't support mp2, but looking at the code, there is
definately code in there that detects MP2 and does some stuff
differently (importing constansts)

You can try putting 'use Apache2::Access' (which provides
get_basic_auth_pw) into your startup.pl and see what happens, but it
looks to me like AuthDBI needs a small patch for 'use Apache2::Access'.

Adam


-----Original Message-----
From: Todd White [mailto:suppressed 
Sent: Friday, November 03, 2006 3:15 PM
To: suppressed
Subject: AuthDBI & Apache 2.2 & mod_perl 2


We just upgraded Apache and mod_perl to the 2.x level and now AuthDBI
does
not work.  Instead it produces the following in the Apache error log.

=======================================================================
Can't locate object method "get_basic_auth_pw" via package
"Apache2::RequestRec" at
/usr/lib/perl5/site_perl/5.8.8/Apache/AuthDBI.pm
line 219.
=======================================================================

Any help, pointers, etc. will be most appreciated.  Even just to learn
that AuthDBI cannot work with mod_perl 2, if that's the case, would be
helpful.

Thanks.
--Todd White


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.