雁过藻溪 发表于 2013-3-26 18:46:47

http://localhost/index.html 提示404

本帖最后由 雁过藻溪 于 2013-3-26 18:46 编辑

菜鸟求助,http://codeigniter.org.cn/forums/data/attachment/album/201303/26/184358powcco0utzj5t9lu.jpg这是我的代码结构,浏览器输入什么样的路径才能访问static下的html文件。
还有我输入http://localhost/index.html提示404,http://localhost/ 可以访问。

smallhe 发表于 2013-3-26 21:00:44

要么用控制器。。要么直接写router.php文件

雁过藻溪 发表于 2013-3-26 23:31:51

谢谢楼上,解决了,自己蠢了,以为控制器只能返回php类型的视图
页: [1]
查看完整版本: http://localhost/index.html 提示404