Geoffrey Young wrote:
Geoffrey Young wrote: > ok, I did some investigating and I really think that the mod_perl API is > troubled wrt auth_type. from what I tell, $r->auth_type returns the > per-dir AuthType config, leaving no way to access r->ap_auth_type. sorry for making the list listen to my thoughts whilst I sort things out. the answer should have been obvious but I didn't see it. anyway, the attached patch fixes both the mod_perl API and the compat layer. all tests pass (for me at least).
Thanks Geoff for taking care of this issue. I've only one prob regarding:
so shouldn't the ap_auth_type function be used instead of accessing the record directly?Index: xs/maps/apache_structures.map =================================================================== RCS file: /home/cvspublic/modperl-2.0/xs/maps/apache_structures.map,v retrieving revision 1.18 diff -u -r1.18 apache_structures.map --- xs/maps/apache_structures.map 12 Jan 2003 02:31:54 -0000 1.18 +++ xs/maps/apache_structures.map 14 Feb 2003 19:11:17 -0000 @@ -46,7 +46,7 @@ content_languages > vlist_validator user -- ap_auth_type #should use ap_auth_type function instead + ap_auth_type
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]