|
|
RewriteEngine on
RewriteBase /
RewriteRule ^catalog/(.*)_(.*).htm catalog\.php\?id=$1&pg=$2
RewriteRule ^catalog/(.*).htm catalog\.php\?id=$1
RewriteRule ^article/(.*).htm article\.php\?id=$1
RewriteRule ^tag/(.*) s\.php\?word=$1
RewriteRule ^tieba/list/(.*).htm catalog_tieba\.php\?id=$1
RewriteRule ^tieba/list/(.*)_(.*).htm catalog_tieba\.php\?id=$1&pn=$2
RewriteRule ^tieba/view/(.*).htm article_tieba\.php\?id=$1
以上代码改成iis下能用的其中上半部分小叶已经提供了 求下半部分!!!!!!
上部分修改结果请参考 加分伺候
RewriteRule ^(.*)/catalog/(.*)/(.*) $1/catalog\.php\?id=$2&pg=$3
RewriteRule ^(.*)/catalog/(.*).htm$ $1/catalog\.php\?id=$2
RewriteRule ^(.*)/article/(.*).htm$ $1/article\.php\?id=$1
[ 本帖最后由 metalx 于 2011-2-27 08:40 编辑 ] |
|