Jie Gao wrote: > Hi Stas, > > >>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 (); > > > But: > > >>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_ HTH --Geoff