Re: [mp2] Apache::Access: $r->auth_name()

[prev] [thread] [next] [Date index for 2005/02/22]

From: Geoffrey Young
Subject: Re: [mp2] Apache::Access: $r->auth_name()
Date: 23:02 on 22 Feb 2005

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

[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