系统设置为“完整格式” 如: http://www.wjob.com.cn/index.php/index.html
location ~ .*\.php?$
{
#fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fcgi.conf;
}
location ~* ^/index.php/
{
rewrite ^/index.php/(.*) /index.php?$1 break;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fcgi.conf;
}
No Responses (yet)
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.