这家伙有点懒,还没写个性签名!
在nginx环境下修改vhost location /中加入
if (!-e $request_filename) { rewrite ^(.*)$ /index.php?r=/$1 last; }