Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: htaccess through perl without apache

by true (Pilgrim)
on Mar 27, 2003 at 06:31 UTC ( [id://246170]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://246170]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2024-04-25 04:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found