我的项目结构如图:
index.php入口文件代码如下
require_once 'Zend/Controller/Front.php';
Zend_Controller_Front::run('../application/controllers');
输入网址 http://localhost:63342/ZendProject/html/ 或者 http://localhost:63342/ZendProject/html/index.php 是可以打开的
当输入http://localhost:63342/ZendProject/html/index 或者 http://localhost:63342/ZendProject/html/index/Index 的时候返回的是404。。
Zend框架版本是 Zend Framework 1.12.9Release。
在我个人的理解中,http://localhost:63342/ZendProject/html/index/Index 第一个index应该是控制器的名称,第二个Index是action的名称。怎么会出现404的现象 呢。
初学PHP,还请指教。