level 13
🔥乐泰科技
楼主
本人初学tp,遇到了不少问题,有的虽然解决了,但仍不懂其中原因,只有请教各位了。
我在tpl目录下建index子目录,下面有两个文件即index.htm与search.htm,
当我的url是“http://localhost/index.php/index/search.php”时访问正常,
当我的url是“http://localhost/index/search.php”即显示“无法加载模块”,
我的URL重写已经成功了,在其它模块下去掉index.php是可以访问的,比如“http://localhost/form/search.php”和“http://localhost/index.php/form/search.php”就是等效的,就是index模块下出问题,不知道什么原因?
2015年09月11日 09点09分
1
我在tpl目录下建index子目录,下面有两个文件即index.htm与search.htm,
当我的url是“http://localhost/index.php/index/search.php”时访问正常,
当我的url是“http://localhost/index/search.php”即显示“无法加载模块”,
我的URL重写已经成功了,在其它模块下去掉index.php是可以访问的,比如“http://localhost/form/search.php”和“http://localhost/index.php/form/search.php”就是等效的,就是index模块下出问题,不知道什么原因?