# 将 RewriteEngine 模式打开
RewriteEngine On
# 修改以下语句中的 / 为你的网站目录地址,如果程序放在二级目录中,如/phpcms 请将 / 修改为 /phpcms
RewriteBase /
# Rewrite 系统规则,添加或者修改请根据其规则
RewriteRule ^(.*)show-([0-9]+)-([0-9]+)\.html$ $1/show.jsp?itemid=$2&page=$3
RewriteRule ^(.*)list-([0-9]+)-([0-9]+)\.html$ $1/list.jsp?catid=$2&page=$3
RewriteRule ^(.*)show-([0-9]+)\.html$ $1/show.jsp?specialid=$2
RewriteEngine On
# 修改以下语句中的 / 为你的网站目录地址,如果程序放在二级目录中,如/phpcms 请将 / 修改为 /phpcms
RewriteBase /
# Rewrite 系统规则,添加或者修改请根据其规则
RewriteRule ^(.*)show-([0-9]+)-([0-9]+)\.html$ $1/show.jsp?itemid=$2&page=$3
RewriteRule ^(.*)list-([0-9]+)-([0-9]+)\.html$ $1/list.jsp?catid=$2&page=$3
RewriteRule ^(.*)show-([0-9]+)\.html$ $1/show.jsp?specialid=$2