in reply to Re: htaccess through perl without apache
in thread htaccess through perl without apache

This sounds interesting.

But i'm not getting the environment variables REMOTE_USER and REMOTE_PASSWD returning anything. I login successfully with htaccess but neither return anything.

#!/usr/bin/perl use CGI; my $request = CGI->new; print $request->header; print <<EOM; CHECK/$ENV{'REMOTE_USER'}/$ENV{'REMOTE_PASSWD'} EOM exit;
This is running on Win2k Apache2 BTW.

thanks update

$ENV{'REMOTE_USER'} will return but $ENV{'REMOTE_PASSWD'} will not