Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2016-10-24 04:44 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.