Click to See Complete Forum and Search --> : .htaccess environment variables


Tasha
11-26-2001, 08:23 AM
Greetings,
I have a web site with two sets of users, one set from an intranet, the other set from the internet. I'm using .htaccess files to password some of the directories.

What I wish to do is allow the users from the intranet straight in without seeing the .htaccess login and prompt the internet users for a username and password.

I assume that .htaccess uses some form of environment variable to indicate that a user is authenticated. Can this be set without prompting for a user name and password. If so what is this variable called and how can I set it in an ASP page?

Thank you for any help.

Ta ta,
Tasha

Taizong
11-26-2001, 03:33 PM
I am not sure about how to get that included into an ASP script/engine, but have you tried simply forcing everyone to authenticate using a password except those on the local subnet(s)? Maybe setup to groups using a group file (AuthGroupFile)?

Tasha
11-28-2001, 06:02 AM
Thanks for the advice - we're looking at a different solution now anyway :-).
Ta ta,
Tasha