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

Reply via email to