YakitoriSD has asked for the wisdom of the Perl Monks concerning the following question:

The answer may be obvious, but I was wondering if it was possible to get the username of a user who logged in via .htaccess, in Perl.

Replies are listed 'Best First'.
Re: .htaccess
by Kanji (Parson) on May 06, 2001 at 00:53 UTC

    It can vary, but $ENV{'REMOTE_USER'} is the most common place to look. Alternately, you call remote_user() if you use CGI.pm.

        --k.