I'm using Apache 065 and I have a problem with authenticated users. The
users have to log in to a particular directory according to a .htpasswd
file and I want to have them fill out a form and submit that form to
a CGI script. All goes well untill the CGI script looks for the username
as authenticated earlier. It's not there in the REMOTE_USER variable.
If I check the logs the username is recorded properly there.
I looked at the NCSA docs and in the CGI specs they let out a little hint
that there are some circumstances where you may not get the authenticated
user? I looked at Apache's source code and it seems like it should work
but it isn't.
The CGI scripts are PERL scripts using cgi-lib
While I'm asking about such things, does anyone know if it is possible to
point the .htaccess directly at the /etc/passwd file? Or will I need to
hack at the server to accomplish this?
Michael Dillon Voice: +1-604-546-8022
Memra Software Inc. Fax: +1-604-542-4130