Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have following code which tries to read the REMOTE_USER environment variable passed by IE to the server, but it's not working:
The apache log showsuse strict; use warnings; use CGI; my $q = CGI->new(); my $UserID = $ENV{"REMOTE_USER"}; print $q->header(); if($UserID){ print "User:<b>$UserID</b>"; }
Anyone has some sugestion how to make this simple script work, or where to start debug?[error] Bad/Missing NTLM/Basic Authorization Header for /testarea/test +.pl [6275] AuthenNTLM: timed outwhile waiting for lock (key = 23754)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: CGI Page and REMOTE_USER environment variable
by roboticus (Chancellor) on Nov 09, 2012 at 12:03 UTC | |
by Anonymous Monk on Nov 09, 2012 at 12:20 UTC | |
by karlgoethebier (Abbot) on Nov 09, 2012 at 12:28 UTC | |
by Anonymous Monk on Nov 09, 2012 at 12:33 UTC | |
by karlgoethebier (Abbot) on Nov 09, 2012 at 12:44 UTC | |
| |
Re: CGI Page and REMOTE_USER environment variable
by Anonymous Monk on Nov 09, 2012 at 12:25 UTC | |
Re: CGI Page and REMOTE_USER environment variable
by bart (Canon) on Nov 09, 2012 at 12:27 UTC |
Back to
Seekers of Perl Wisdom