Hi List,
 I am going to write a  HTTP authentication by using mod_perl.And I wrote
some code like the following:
---
#!/usr/bin/perl -w
use CGI;
my $p=new CGI;
print $p->header(-status=>401,
                        -www_authenticate='Basic realm="test area"',
                        -type=>'text/html');
---
 Now,if I open this script,the brower will pop a authenticate box.
 I want to know,how can I get the id and password that the client inputed in
that authenticate box .
 Would someone give any advice ?
 Thanx.

Regards,
Kai



-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to