IIS won't prompt for authentication with PHP?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hi all,

I'm new to this group and have been using PHP for a short amount of
time. I've come across a strange problem which doesn't seem to be
addressed in any other posts (as far as I can tell.)

I am running IIS 5.0 on Win2k with PHP version 5.0.4 in ISAPI mode. In
IIS I have set the security to use Basic, Digest and Integrated with
Anonymous disabled.

When I point to a PHP file I do not get prompted for a username and
password. When I point to any other type of file, like .pl or .html, I
get prompted.

Anyone have any clue as to why it's acting this way?



Re: IIS won't prompt for authentication with PHP?

Never mind. I figured out that it was using the Integrated
authenticaion but I thought it wasn't working because the $REMOTE_USER
var was empty. I now know that I have to use $_SERVER['REMOTE_USER'].

Sorry for the noise!


Site Timeline