Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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


Comment on Re^2: CGI getting htaccess userid
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 taking refuge in the Monastery: (6)
As of 2015-07-29 23:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls