[提问]
谁帮我把.htaccess转成web.config,谢谢
|
|
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
RewriteRule ^(.*)/uhome-(.+)-(.+)-(.+)-(.+)\?*(.*)$ $1/shop\.php\?firstRow=$4&totalRows=$5&uid=$3&action=$2
RewriteRule ^(.*)/uhome-(.+)-(.+)-(.+)\?*(.*)$ $1/shop\.php\?uid=$3&action=$2&id=$4
RewriteRule ^(.*)/uhome-(.+)-(.+)\?*(.*)$ $1/shop\.php\?uid=$2&action=$3
RewriteRule ^(.*)/uhome-(.+)\?*(.*)$ $1/shop\.php\?uid=$2
RewriteRule ^(.*)/(.+)-(.+)-(.+).html(.+)\?*(.*)$ $1/index\.php\?m=$2&s=$3&id=$4$5
RewriteRule ^(.*)/(.+)-(.+)-(.+).html\?*(.*)$ $1/index\.php\?m=$2&s=$3&id=$4
RewriteRule ^(.*)/(.+)-(.+).html(.+)\?*(.*)$ $1/index\.php\?m=$2&s=$3$4
RewriteRule ^(.*)/(.+)-(.+).html\?*(.*)$ $1/index\.php\?m=$2&s=$3
RewriteRule ^(.*)/(\w+).html$ $1/index\.php\?m=$2
RewriteRule ^(.*)/_(.+)-(.+)-(.+)/(.+)\?*(.*)$ $1/index\.php\?m=$2&s=$3&id=$4$5
RewriteRule ^(.*)/_(.+)-(.+)-(.+)/\?*(.*)$ $1/index\.php\?m=$2&s=$3&id=$4
RewriteRule ^(.*)/_(.+)-(.+)/(.+)\?*(.*)$ $1/index\.php\?m=$2&s=$3$4
RewriteRule ^(.*)/_(.+)-(.+)/\?*(.*)$ $1/index\.php\?m=$2&s=$3
RewriteRule ^(.*)/_(.+)/(.+)\?*(.*)$ $1/index\.php\?m=$2&$3
RewriteRule ^(.*)/_(.+)/\?*(.*)$ $1/index\.php\?m=$2
RewriteRule ^(.*)/templates/(.+)/*.htm$ /404.php
ErrorDocument 404 /404.php |
|
|
|
|
|
|
|
|
|
|
lwbo1987
发表于 2011-9-23 11:16:22
|
显示全部楼层
回复 1# 的帖子
|
可以网上搜下.htaccess在线转换web.config,可以参考上面的结果 |
|
|
|
|
|
|
|
|