metalx 发表于 2011-2-26 20:07:29

谁帮我改个很简单的iis下的规则

RewriteEngine on
RewriteBase /
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 编辑 ]

cnweb 发表于 2011-2-26 20:08:19

楼下来

安心 发表于 2011-2-26 23:49:34

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复制代码这样可以不?

metalx 发表于 2011-2-27 01:01:17

不行哥

manhere 发表于 2011-2-27 05:36:30

如果是Helicon的ISAPI直接去掉^基本就行了
"

metalx 发表于 2011-2-27 08:40:46

上面的哥哥 不行呢

metalx 发表于 2011-2-27 14:20:35


cry.gif

cry.gif

cry.gif

cry.gif

cry.gif
页: [1]
查看完整版本: 谁帮我改个很简单的iis下的规则