【发布时间】:2016-01-01 10:04:37
【问题描述】:
我是 yii 框架的新用户。我有一个项目,它的名字是crm 现在当我尝试运行它时,它给了我404 Not Found 的错误,下面显示The requested URL /crm/web/index.php was not found on this server.,现在当我转到我的根 index.php 它有下一行<?php header('Location: /crm/web/index.php'); ?>,当我刚刚进入web/index.php时,它有很多代码现在的问题是它无法访问/找到web目录中的index.php我也尝试创建另一个文件testing.php并更改<?php header('Location: /livecrm/web/index.php'); ?> 到 <?php header('Location: /livecrm/web/testing.php'); ?> 但它对我不起作用我已经设置了 Environment Variables,所以现在该怎么办。
在此致谢
【问题讨论】: