我刚刚安装了Windows 2008 R2 SP1,并将IIS7.5配置为通过CGI运行PHP。我试图通过创建d:\www\test\index.php、将IIS配置为从物理路径d:\www\test运行网站并将默认文档设置为index.php来使测试网站正常工作。我得到以下错误:
error: 404 - File or directory not found.
但是,当我将index.php移动到c:\inetpub\wwwroot并指向那里的物理位置时,它可以正常工作。
问题是什么?
发布于 2011-09-24 12:50:36
听起来像是许可问题。将权限从inetpub复制到新文件夹,并查看是否已解析。
https://serverfault.com/questions/315090
复制相似问题