Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

IIS 6, PHP 5, I set everything up and when I try to hit 127.0.0.1 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 127.0.0.1/index.php 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
1  
Can you summarize what you did to "set everything up"? –  Eric H Jan 6 '10 at 2:52

2 Answers 2

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

 
discard

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