Skip to content
This repository has been archived by the owner on Jan 4, 2020. It is now read-only.

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

Open
zhanglihan opened this issue Nov 24, 2017 · 0 comments
Open

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

zhanglihan opened this issue Nov 24, 2017 · 0 comments

Comments

@zhanglihan
Copy link

根据官网对项目进行了配置,同时开启了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又出了之前的效果了
求教大神,请大神指点一二~~~

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant