Thursday, 30 June 2005
IIS6 basic authentication (challenge/response) with PHP not working
i spent ages trying to figure this out. i set up a secure folder on a php site, and turned off anonymous access in IIS on the folder. i have it set to basic authentication, and given a windows user account RX permissions on the folder. so a visitor gets prompted to login with a username/password when they try to access it. even when i enter the correct details, i am not allowed in, i get 403.1 access denied due to ACL or whatever.
i found out it was because i hadn't given my new user read/execute permissions on the php-cgi.exe file in the PHP folder. this solved it. hope this helps someone out there who runs into the same problem.
Thursday, 30 June 2005 15:48:38 (GMT Daylight Time, UTC+01:00) Windows Server