res;#decline if not Basic
> my $username = $r->user;
>
> if ($username eq '') {
> $r->note_basic_auth_failure;
> $r->log_error ("no account given for uri=<" . $r->uri . ">");
> return Apache::
-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
e file under their home
directory.otherwise,it should be a big problem.one virtual host's user can
read any another virtual host's user's cgi's source code by writing a simple
script.
I want to ask,Is it possible to chroot each virtual host?
Thanks a lot!
Regards,
Kai
--
decline it.
I dont know the perl's source code at all,so I am not sure if it is a good
idea.
Maybe there are some other ways to resolve this problem(I just heared
chroot,but I am not clear how to do).Would someone give me a hint?
Any advise would be appreciated.
Thanx.
Reg