Linux的thinkphp环境

浏览:8457 发布日期:2013/03/17 分类:求助交流
大家好,现在刚开始CentOS下的thinkphp开发,环境弄好了,不知道为什么,我自己在建一个控制器和对应模板后,从浏览器里打不开,404 error.
目录结构是
-Thinkphp;
-Admin{
--Tpl
----- Test
-----------index.html
--Lib
------TestAction.class.php
class TestAction extends Action
{
function index(){$this->display();}
}
}

在浏览器内http://localhost/Web/Test/index就发生404问题。
http://localhost/Web/admin.php显示正常。谢谢。
最佳答案
评论() 相关
后面还有条评论,点击查看>>