PDA

View Full Version : IIS Probs.


willy_ph
02-20-2003, 9:51 PM
A while back I set up a bbs to help me organize my thoughts for some school assignments and to play with php. I went to check on the bbs this morning and it says that I'm not authorized to view the index.php (or any other file) in the webserver directory. I think it's a problem with IIS (5.1), but I can't find it.

Does anyone have any suggestions?

Mntsnow
02-20-2003, 11:29 PM
Errors such as that tells me that the permissions of the files/directory has changed. make sure that the folder/files have the IUSR user account in the security permissions has at least Read permissions and execute for scripts (CGI, php ect).

Mntsnow
02-21-2003, 9:26 AM
What permissions have you assigned to the site in the IIS MMC control panel? Specifically the "Home Directory" tab. Also in the "Application Settings" of that same page.

willy_ph
02-21-2003, 1:57 PM
I figured out the problem. It had to do with the fact that I changed the user that IIS uses for anonymous access. After I did that I removed the user from my system. Hence, I couldn't access the files because there was no user available to act as the anonymous user.

Mntsnow
02-21-2003, 2:34 PM
Originally posted by Mntsnow
Errors such as that tells me that the permissions of the files/directory has changed. make sure that the folder/files have the IUSR user accounts in the security permissions has at least Read permissions and execute for scripts (CGI, php ect).

Thats what the IUSR account is for :)