谁帮我改个很简单的iis下的规则
RewriteEngine onRewriteBase /
RewriteRule^catalog/(.*)_(.*).htmcatalog\.php\?id=$1&pg=$2
RewriteRule^catalog/(.*).htmcatalog\.php\?id=$1
RewriteRule^article/(.*).htmarticle\.php\?id=$1
RewriteRule^tag/(.*) s\.php\?word=$1
RewriteRule^tieba/list/(.*).htmcatalog_tieba\.php\?id=$1
RewriteRule^tieba/list/(.*)_(.*).htmcatalog_tieba\.php\?id=$1&pn=$2
RewriteRule^tieba/view/(.*).htmarticle_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 编辑 ] 楼下来 httpd.ini[*]
[*]
[*]RewriteRule^tag/(.*) s\.php\?word=$1
[*]RewriteRule^tieba/list/(.*).htmcatalog_tieba\.php\?id=$1
[*]RewriteRule^tieba/list/(.*)_(.*).htmcatalog_tieba\.php\?id=$1&pn=$2
[*]RewriteRule^tieba/view/(.*).htmarticle_tieba\.php\?id=$1复制代码这样可以不? 不行哥 如果是Helicon的ISAPI直接去掉^基本就行了
" 上面的哥哥 不行呢
cry.gif
cry.gif
cry.gif
cry.gif
cry.gif
页:
[1]