8000 Thinkphp3.2 开启Rewrite之后 Index模块找不到 · Issue #511 · top-think/thinkphp · GitHub
[go: up one dir, main page]

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

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

Open

Description

@magicchen007

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0