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 (Patriarch) on Jan 11, 2006 at 19:44 UTC

    CGI's remote_user is simply

    sub remote_user { return $ENV{'REMOTE_USER'}; }

    No difference.