[求助] 那位朋友会转换一下伪静态规则 帮帮忙

2018-03-26 17:18


这是linux主机的伪静态规则 那位朋友帮我转换成2003系统的伪静态规则先谢谢了.

RewriteEngine On



RewriteRule ^game-(.*).html$ /plugin.php?id=yxwg&a=game&gid=$1&r=1 [L,NC]

RewriteCond %{QUERY_STRING} ^id=yxwg&a=game&gid=([0-9]+)$ [NC]

RewriteRule ^plugin.php$ /game-%1.html? [L,R=301]



RewriteRule ^gamenews-(.*).html$ /plugin.php?id=yxwg&a=news&nid=$1&r=1 [L,NC]

RewriteCond %{QUERY_STRING} ^id=yxwg&a=news&nid=([0-9]+)$ [NC]

RewriteRule ^plugin.php$ /gamenews-%1.html? [L,R=301]



RewriteRule ^gameziliao-(.*).html$ /plugin.php?id=yxwg&a=news&gsid=$1&r=1 [L,NC]

RewriteCond %{QUERY_STRING} ^id=yxwg&a=news&gsid=([0-9]+)$ [NC]

RewriteRule ^plugin.php$ /gameziliao-%1.html? [L,R=301]



RewriteRule ^gamecard-(.*).html$ /plugin.php?id=yxwg&a=card&gid=$1&r=1 [L,NC]

RewriteCond %{QUERY_STRING} ^id=yxwg&a=card&gid=([0-9]+)$ [NC]

RewriteRule ^plugin.php$ /gamecard-%1.html? [L,R=301]



RewriteRule ^gameplay-(.*)-(.*).html$ /plugin.php?id=yxwg&a=play&gid=$1&sid=$2&r=1 [L,NC]

RewriteCond %{QUERY_STRING} ^id=yxwg&a=play&gid=([0-9]+)&sid=([0-9]+)$ [NC]

RewriteRule ^plugin.php$ /gameplay-%1-%2.html? [L,R=301]