如果想将“http://localhost/b.php?id=1″此类URL伪静态为“http://localhost/b/1″的形式,则具体的伪静态规则语句该怎么写呢
rewrite ^/([^\/])/([^\/]*)/$ /$1.php?id=$2 last;