dogwin 发表于 2009-12-27 09:05:32

看看这个吧http://codeigniter.com/forums/viewthread/99180/

yangball 发表于 2009-12-27 16:31:29

学习了。。。。。

gxl_ct001 发表于 2010-7-1 14:04:44

我也在找这方面的资料,主要是如何把
RewriteCond $1 !^(index\.php|imgs|css|js|upload|robots\.txt|{1,}\.html)

这一行改成 nginx 下的规则?

飞翔 发表于 2010-8-17 16:16:35

俺没有看懂啊!

le_el 发表于 2010-12-29 14:01:37

if (!-e $request_filename)
{
rewrite ^/(.*)$ /index.php/$1 last;
break;
}

试过N多种写法,最终上面这几行写法 解决搞定。

null999 发表于 2016-7-13 11:03:24

le_el 发表于 2010-12-29 14:01
if (!-e $request_filename)
{
rewrite ^/(.*)$ /index.php/$1 last;


是的,还是层主这个好
页: 1 [2]
查看完整版本: 请问nginx服务器的去index.php的rewrite要怎么写?