Click to See Complete Forum and Search --> : REMOTE_USER enviroment variable


jimr451
08-28-2003, 07:12 AM
Hi all,

I have a set of scripts (perl) that are behind a ".htaccess" protected directory.

In the course of checking which user is authenticated, I'm checking the value of the REMOTE_USER enviroment variable.

The strange thing is, the variable doesn't show up as being set when I check it. I even ran a loop to print out all %ENV values to see if I had a typo. No luck.

What is really strange, is that a second script, in the same directory, does show the REMOTE_USER variable.

I'm not touching any of the ENV values at any other point in the script. I'm at a loss as to why the value isn't set.

Has anyone seen this behavior before?

-Jim