NGINX的rewrite规则.该怎么写呢?



[Copy to clipboard] [ - ]
CODE:
        RewriteRule ^(.*)/picnews-([0-9]+)-([0-9]+)\.html$   $1/plus/picnews.php?typeid=$2&PageNo=$3
        RewriteRule ^(.*)/plus/pinglun-([0-9]+)\.html$   $1/plus/feedback.php?arcID=$2

上面的是原来Apache的时候用的.现在改用NginX,但是我rewrite没弄好.搞半天了.Google和baidu都搜了.没搞定.find pcre发现也存在.

不知道怎么回事.下面是我现在用的rewrite规则.

[Copy to clipboard] [ - ]
CODE:
        rewrite  "^(.+)/picnews-([0-9]+)-([0-9]+)\.html$" $1/plus/picnews.php?typeid=$2&PageNo=$3 last;
        rewrite  "^(.+)/plus/pinglun-([0-9]+)\.html$" $1/plus/feedback.php?arcID=$2 last;

看看有错吗?