把vhosts.ini 里的
location / {
index index.html index.htm index.php;
#autoindex on;
}
换成
location / {
if (!-e $request_filename) {
rewrite /(.*) /index.php/$1 last;
}
index index.html index.htm index.php;
#autoindex on;
}