这个是uchome的规则,我有2个PHP的页面需要转成html。请高手解答看看这个规则哪里出问题了。
location / {
rewrite ^(.*)/(space|network)\-(.+)\.html$ $1/$2.php?rewrite=$3 last;
rewrite ^(.*)/(space|network)\.html$ $1/$2.php last;
rewrite ^/jifenflashgame\.html fgame.php last;
rewrite ^/tvonline\.html tv.php?ac=index last;
rewrite ^(.*)/([0-9]+)$ $1/space.php?uid=$2 last;
}
主要是以下两个规则
rewrite ^/jifenflashgame\.html fgame.php last;
rewrite ^/tvonline\.html tv.php?ac=index last;
其他都能正常,就这2条规则编译不出来。