Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2016-06-29 21:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (387 votes). Check out past polls.