qq2508481 发表于 2016-10-26 18:37:59

nginx环境下 只跳转welcome/index 其他方法找不到又跳到wel.../index

不管访问什么方法http://xxxx/index.php/welcome/index都跳转到这

http://xxx/index.php/welcome/index2访问不到 或者http://xxxxxx/index.php/welco1231312rffefddme/inde12312x   后面乱写也是直接访问index

Hex 发表于 2016-10-26 18:59:20

这不是 CI 代码的问题,是 nginx 配置问题,CI 的 nginx 配置参考官方的配置 https://www.nginx.com/resources/ ... ecipes/codeigniter/

qq2508481 发表于 2016-10-26 18:38:17

求大神帮助

qq2508481 发表于 2016-10-27 10:54:55

Hex 发表于 2016-10-26 18:59
这不是 CI 代码的问题,是 nginx 配置问题,CI 的 nginx 配置参考官方的配置 https://www.nginx.com/resour ...

谢谢,已经解决

zhai 发表于 2019-5-21 10:38:47

$config['uri_protocol']        = 'PATH_INFO';{:1_1:}{:1_1:}{:1_1:}
页: [1]
查看完整版本: nginx环境下 只跳转welcome/index 其他方法找不到又跳到wel.../index