0

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?

3
  • 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, 2010 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, 2010 at 18:34
  • 1
    Can you summarize what you did to "set everything up"?
    – Eric H
    Jan 6, 2010 at 2:52

2 Answers 2

1

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

alt text
(source: php.net)

0

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

You must log in to answer this question.