perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Nechaev <nech...@technodesign.ru>
Subject [mp2] Can't change AuthName
Date Fri, 03 Dec 2004 04:45:52 GMT
Hi!

I want set AuthName from hadler(), instead from httpd.conf.
I put in Authen handler:

...
sub handler
{
 my $r = shift;

 $r->auth_name('Decline authorization');
 #^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 my ($status, $password) = $r->get_basic_auth_pw();
 return $status if($status != Apache::OK);
...

But it not work. In error_log appear a message:
Can't change AuthName to 'Decline authorization'

What i do wrong?


Maxim Nechaev


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message