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

Re^2: CGI getting htaccess userid

by Happy-the-monk (Abbot)
on Jan 11, 2006 at 19:40 UTC ( #522549=note: print w/replies, xml ) Need Help??


in reply to Re: CGI getting htaccess userid
in thread CGI getting htaccess userid

Try an additional print "env-remote_user: $ENV{REMOTE_USER}<br />"; which will also show you if it is set or not.

Cheers, Sören

Replies are listed 'Best First'.
Re^3: CGI getting htaccess userid
by ikegami (Pope) on Jan 11, 2006 at 19:44 UTC

    CGI's remote_user is simply

    sub remote_user { return $ENV{'REMOTE_USER'}; }

    No difference.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://522549]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2017-10-20 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (263 votes). Check out past polls.

    Notices?