Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

IIS 6, PHP 5, I set everything up and when I try to hit which should serve index.php I get "You are not authorized to view this page" and some stuff about ACL preventing it.

How does one fix this? I dont want to mess up security on the directories in wwwroot. What permissions should work here?

share|improve this question
does work? If so, then you need to tell IIS to look for index.php files as its DirectoryIndex (that's what Apache calls it - I'm not sure what it's called in IIS land). – EEAA Jan 5 '10 at 17:04
@ErikA - yes, that is valid. Same think happens when I try one of my sites that is PHP too. – JT Jan 5 '10 at 18:34
Can you summarize what you did to "set everything up"? – Eric H Jan 6 '10 at 2:52

Add index.php to the Default Documents list in the website configuration in IIS:

alt text

share|improve this answer

Make sure IIS is configured properly. Never used it never will but thats usually what happens when you get permission errors.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.