Re: IIS equivalent to Apache's .htaccess files
| From: | Manuel Lemos | Date: | Fri, 01 Feb 2002 04:35:21 +0000 |
| Subject: | Re: IIS equivalent to Apache's .htaccess files | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11761@lists.php.net to get a copy of this message | ||
Hello,
Theodore Brinkman wrote:
>
> Sorry, I should have been clearer. Strictly speaking this is an IIS
> question, not a PHP question, but I don't know where else to ask.
>
> We're using IIS, and the team lead has settled on windows domain
> authentication for 'logging into' the system. This means that only IE can
> be used unless I can figure out a way to get IIS to ask non-IE browsers to
> authenticate themselves. The 'user and password' database is the windows
> domain controller.
I never tried but if you are using IIS, I think the solution is simpler.
All you need to do is to issue the right authentication headers and IIS
will set the LOGON_USER variable with the user login. This page may help
you:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iisref/html/psdk/asp/comp3hf8.asp
Regards,
Manuel Lemos