[prev] [thread] [next] [Date index for 2005/02/22]
Geoffrey Young wrote: >>>mplookup auth_type >> >>'auth_type' is not a part of the mod_perl 2.0 API >>use 'ap_auth_type' instead. now resides in the request object >>To use method 'ap_auth_type' add: >> use Apache::RequestRec (); >>>perldoc -U Apache::Access >> # auth type >> $auth_type = $r->auth_type(); >> $r->auth_type("Digest"); > > > was this a question? if so, $r->auth_type and $r->ap_auth_type are > different things: > > http://perl.apache.org/docs/2.0/api/Apache/RequestRec.html#C_ap_auth_type_ > > http://perl.apache.org/docs/2.0/api/Apache/Access.html#C_auth_type_ Well, the lookup report is a bit confused. It is trying to say that auth_type is no longer in Apache::Connection. # Apache::Connection auth_type => ['ap_auth_type', 'now resides in the request object'], how should we better handle this? just nuke that entry from ModPerl::MethodLookup? -- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
[mp2] Apache::Access: $r->auth_name() Jie Gao 22:11 on 22 Feb 2005
Re: [mp2] Apache::Access: $r->auth_name() Geoffrey Young 23:02 on 22 Feb 2005
Re: [mp2] Apache::Access: $r->auth_name() Stas Bekman 23:14 on 22 Feb 2005
Generated at 11:30 on 23 Feb 2005 by mariachi v0.52