Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: CGI Page and REMOTE_USER environment variable

by Anonymous Monk
on Nov 09, 2012 at 12:20 UTC ( #1003109=note: print w/ replies, xml ) Need Help??


in reply to Re: CGI Page and REMOTE_USER environment variable
in thread CGI Page and REMOTE_USER environment variable

my $q = CGI->new(); #my $UserID = $ENV{"REMOTE_USER"}; my $UserID = $q->remote_user(); print $q->header(); if($UserID){ print "User:<b>$UserID</b>"; }
I get nothing in the page and the same error in the logs.


Comment on Re^2: CGI Page and REMOTE_USER environment variable
Download Code
Re^3: CGI Page and REMOTE_USER environment variable
by karlgoethebier (Curate) on Nov 09, 2012 at 12:28 UTC

    It works for me (with shebang) on IE and Firefox.

    Smells like Apache2-AuthenNTLM

    «The Crux of the Biscuit is the Apostrophe»

      This is the module apache is using. Are you using this? If not can I get this to work without using this?

        No.Perhaps you take a look at this for some further information.

        Regards, Karl

        «The Crux of the Biscuit is the Apostrophe»

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2014-07-28 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (209 votes), past polls