lnmp1.4多版本php pathinfo失败,如下
location ~ [^/]\.php(/|$){
fastcgi_passunix:/tmp/php-cgi5.4.sock;
fastcgi_index index.php;
include fastcgi.conf;
include pathinfo.conf;
}
这是enable-php5.4-pathinfo.conf;
以下是Listen 80配置:
server
{
listen 80;
server_name sd.thinkuser.cn;
index index.php;
root/home/wwwroot/shuadan;
include enable-php5.4-pathinfo.conf;
access_log/home/wwwlogs/sd.log;
}
现在访问网站(http://sd.thinkuser.cn/)下的菜单时index不见了,,,如(http://sd.thinkuser.cn/.php/Home/Mission/index);;
军哥求解,怎么破!
查看源代码程序输出的就是有问题的
页:
[1]