thinkphp icon indicating copy to clipboard operation
thinkphp copied to clipboard

Thinkphp3.2 开启Rewrite之后 Index模块找不到

Open zhanglihan opened this issue 8 years ago • 0 comments

根据官网对项目进行了配置,同时开启了rewrite 在地址栏中输入 http;//www.testing.com/home/index 很自然的找到了Home模块下的index方法,同样输入 http;//www.testing.com/index.php/home/index也 成功了 。也就是说rewrite的配置没问题!! 那么问题来了: 我在原来的项目中加入一个名为“Index”的模块 通过
http;//www.testing.com/index.php/Index/index/show_info 可以很轻松的得到想要的结果;但是 通过 http;//www.testing.com/Index/index/show_info(去掉了index.php) 提示 无法加载控制器:Show_info!!然后通过 http://www.testing.com/index/index/index/show_info又出了之前的效果了 求教大神,请大神指点一二~~~

zhanglihan avatar Nov 24 '17 03:11 zhanglihan