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.

I just installed Windows Server 2008 R2 SP1 and configured IIS 7.5 to run PHP via CGI. I tried to get a test website working by creating d:\www\test\index.php, configuring IIS to to run a website from physical path d:\www\test and set the default document to index.php. I get the following error:

error: 404 - File or directory not found.

However, when I move index.php to c:\inetpub\wwwroot and point the physical location there it works okay.

What could the problem be?

share|improve this question

1 Answer 1

Sounds like a permission issue. Copy the permissions from inetpub onto the new folder and see if it is resolved.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.