
June 8th, 2005, 01:05 AM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 1
Time spent in forums: 18 m 59 sec
Reputation Power: 0
|
|
|
REMOTE_USER env variable
Hi all,
I am running apache web server 1.3.29 on Solaris 9.
I want all users to be able to access the web page, but for running a cgi script, I want to authenticate the user. And this authentication is done by my own script, which compares the environment variable REMOTE_USER with a list of users it gets at run time. I do not want to have a separate access file for apache with usernames. Without any restriction on the directory, the REMOTE_USER variable is empty.
Its ok if I have to prompt users for username/password - and they could login with their domain user account. But I do not want apache to validate this user. All I want is to get the environment variable "REMOTE_USER".
Could someone please help?
Thanks a lot.
|