3.2.3 U方法在windows的wamp使用正常,在centos的lnmp就出问题了。用'URL_MODEL'=> 2,打开首页(www.xxx.om)正常,可以再打开(www.xxx.com/Index/news.html),再开一个问题来了(www.xxx.com/Index/Index/about.hmtl)。就这样不断增加Index/(www.xxx.com/Indx/Index/……/Index/product.html),如用'URL_MODEL' => 3,就变成(www.xxx.com/.php?s=/),index.php的index不见了;用回3.1.3就不会出现这种问题。谢谢各位帮助了!
nginx下的tp3.1.3可正常打开所有链接:
nginx下的tp3.2.3会有上述问题: