0

有人可以告诉我,如何为 nginx 转换以下规则?

RewriteRule ^([^/]*)/?$ index.php?a=$1 [L,NC]
RewriteRule ^([^/]*)/([^/]*)/?$ index.php?a=$1&b=$2 [L,NC]
RewriteRule ^([^/]*)/([^/]*)/([^/]*)/?$ index.php?a=$1&b=$2&c=$3 [L,NC]
4

1 回答 1

1

http://wiki.nginx.org/HttpRewriteModule#rewrite

于 2012-04-16T22:22:13.003 回答