\(^_^)/
Wed 10th Oct '01, 4:40pm
I'm running Win2000 (which is really just NT), IIS 5.0.
When I try to run index.php, I am asked for a Windows username and password.
When I enter a valid windows password, the board works fine.
ATTEMPTS TO ISOLATE THE PROBLEM (Windows or VB?)
I created a file "test.php" in this same directory. (It has some PHP statments -- not just a file with plain vanilla HTML.) It runs fine without asking for a windows login.
Renamed test.php to index.php (yes, I backed up the real index.php file). Runs fine (does not ask for login). Restored the correct and original index.php.
When I go to the VB control panel in a subdirectory of the above, it does not ask for a windows login. Just the regular VB login, which works.
PRELIMINARY CONCLUSION: this points away from a Windows authentication issue because my test file runs properly as does the control panel login.
CONTINUED PURSUIT OF ISOLATING THE PROBLEM
In IIS Admin console (Internet Services Manager), for the entire website, the forum directory, and index.php. I looked at the Properties, Directory Security.
Anonymous access is granted for all. Permissions on these appear correct. Plus, permissions are the same on the file that works and the one that does not.
For all of these, "Integrated Windows Authentication" is checked. I unchecked this box and tried to run index.php. Result: access denied. I am not prompted to login, flat out denied access.
I restore "Integrated Windows Authentication" and I'm back to needing to provide a windows login.
I am puzzled as to what to check or try next. Any help is greatly appreciated.
When I try to run index.php, I am asked for a Windows username and password.
When I enter a valid windows password, the board works fine.
ATTEMPTS TO ISOLATE THE PROBLEM (Windows or VB?)
I created a file "test.php" in this same directory. (It has some PHP statments -- not just a file with plain vanilla HTML.) It runs fine without asking for a windows login.
Renamed test.php to index.php (yes, I backed up the real index.php file). Runs fine (does not ask for login). Restored the correct and original index.php.
When I go to the VB control panel in a subdirectory of the above, it does not ask for a windows login. Just the regular VB login, which works.
PRELIMINARY CONCLUSION: this points away from a Windows authentication issue because my test file runs properly as does the control panel login.
CONTINUED PURSUIT OF ISOLATING THE PROBLEM
In IIS Admin console (Internet Services Manager), for the entire website, the forum directory, and index.php. I looked at the Properties, Directory Security.
Anonymous access is granted for all. Permissions on these appear correct. Plus, permissions are the same on the file that works and the one that does not.
For all of these, "Integrated Windows Authentication" is checked. I unchecked this box and tried to run index.php. Result: access denied. I am not prompted to login, flat out denied access.
I restore "Integrated Windows Authentication" and I'm back to needing to provide a windows login.
I am puzzled as to what to check or try next. Any help is greatly appreciated.