IIS7& CakePHP错误index.php文件未找到

发布于 2024-10-07 09:52:30 字数 221 浏览 0 评论 0原文

我正在运行 iis7 的 Windows 服务器上设置 cakephp 应用程序。 PHP 已安装,并且在访问控制器/操作等时一切正常,但是当转到网站的根目录时/我收到 index.php 文件未找到错误,但如果我输入 index.php?url=controller/action 它会重定向正常,是否有任何错误有什么建议吗?我已经查看了所有地方并使用了各种 URL 重写文件,但没有任何效果,任何帮助将不胜感激,谢谢! :D

i am setting up cakephp app on a windows server running iis7. PHP is installed and everything works when accessing controller/action etc but when going to the root of the site / i get index.php file not found error but if i type index.php?url=controller/action it redirects fine, does any one have any suggestions? i have looked every where and used all sorts of URL Rewrite files but nothing works any help would be appreciated, thanks! :D

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

谜兔 2024-10-14 09:52:30

已排序 - 在 iis.net 找到答案,只是在那里搜索 cakephp index.php 问题

was sorted - found answer at iis.net, just searched cakephp index.php issues on there

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文