转换为nginx重写规则
答
当然,试试这个:
location/{
if ($request_uri ~ ^/(.*)/(.*)/) {
rewrite^/index.php?a=$1&b=$2&$args last;
}
}
也请阅读documentantion关于nginx的重写模块
看到我的评论在这里的转换器:http://stackoverflow.com/a/ 11422788/189431 – 2012-08-07 14:05:36