﻿RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

#重写内容
RewriteRule ^show_(\d+)_(\d+)\.html /show.asp\?id=$1&page=$2 [QSA,L]
RewriteRule ^show_(\d+)\.html /show.asp\?id=$1 [QSA,L]

#重写列表
RewriteRule ^list_(\d+)_(\d+)\.html /list.asp\?classid=$1&page=$2 [QSA,L]
RewriteRule ^list_(\d+)\.html /list.asp\?classid=$1 [QSA,L]

#重写index.asp
RewriteRule ^index\.html(.*) /index.asp [QSA,L]