nginx环境下 只跳转welcome/index 其他方法找不到又跳到wel.../index
不管访问什么方法http://xxxx/index.php/welcome/index都跳转到这http://xxx/index.php/welcome/index2访问不到 或者http://xxxxxx/index.php/welco1231312rffefddme/inde12312x 后面乱写也是直接访问index
这不是 CI 代码的问题,是 nginx 配置问题,CI 的 nginx 配置参考官方的配置 https://www.nginx.com/resources/ ... ecipes/codeigniter/ 求大神帮助 Hex 发表于 2016-10-26 18:59
这不是 CI 代码的问题,是 nginx 配置问题,CI 的 nginx 配置参考官方的配置 https://www.nginx.com/resour ...
谢谢,已经解决 $config['uri_protocol'] = 'PATH_INFO';{:1_1:}{:1_1:}{:1_1:}
页:
[1]