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?