Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

getting who logged on with using basic auth

by dswimboy (Initiate)
on Aug 15, 2002 at 21:50 UTC ( #190538=perlquestion: print w/replies, xml ) Need Help??

dswimboy has asked for the wisdom of the Perl Monks concerning the following question: (cgi programming)

I am using Apache's htaccess to password protect directories. is there a way for my perl script to find out the username of who is logged on?

Originally posted as a Categorized Question.

  • Comment on getting who logged on with using basic auth

Replies are listed 'Best First'.
Re: getting who logged on with using basic auth
by merlyn (Sage) on Aug 15, 2002 at 22:22 UTC
    It's in $ENV{REMOTE_USER}.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2022-06-25 14:00 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (82 votes). Check out past polls.