IIS6下伪静态规则参考

[ISAPI_Rewrite]

3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
RewriteRule ^/$ /? [L]
RewriteRule ^/aws_external/(.*)$ /\?\/aws_external/$1 [L]
RewriteRule ^/topic/(.*)$ /\?\/topic/$1 [L]
RewriteRule ^/article/(.*)$ /\?\/article/$1 [L]
RewriteRule ^/upgrade/(.*)$ /\?\/upgrade/$1 [L]
RewriteRule ^/page/(.*)$ /\?\/page/$1 [L]
RewriteRule ^/users/(.*)$ /\?\/users/$1 [L]
RewriteRule ^/favorite/(.*)$ /\?\/favorite/$1 [L]
RewriteRule ^/explore/(.*)$ /\?\/explore/$1 [L]
RewriteRule ^/notifications/(.*)$ /\?\/notifications/$1 [L]
RewriteRule ^/inbox/(.*)$ /\?\/inbox/$1 [L]
RewriteRule ^/people/(.*)$ /\?\/people/$1 [L]
RewriteRule ^/setting/(.*)$ /\?\/setting/$1 [L]
RewriteRule ^/logout/(.*)$ /\?\/logout/$1 [L]
RewriteRule ^/publish/(.*)$ /\?\/publish/$1 [L]
RewriteRule ^/feature/(.*)$ /\?\/feature/$1 [L]
RewriteRule ^/home/(.*)$ /\?\/home/$1 [L]
RewriteRule ^/file/(.*)$ /\?\/file/$1 [L]
RewriteRule ^/account/(.*)$ /\?\/account/$1 [L]
RewriteRule ^/login/(.*)$ /\?\/login/$1 [L]
RewriteRule ^/reader/(.*)$ /\?\/reader/$1 [L]
RewriteRule ^/search/(.*)$ /\?\/search/$1 [L]
RewriteRule ^/crond/(.*)$ /\?\/crond/$1 [L]
RewriteRule ^/invitation/(.*)$ /\?\/invitation/$1 [L]
RewriteRule ^/admin/(.*)$ /\?\/admin/$1 [L]
RewriteRule ^/m/(.*)$ /\?\/m/$1 [L]
RewriteRule ^/question/(.*)$ /\?\/question/$1 [L]
RewriteRule ^/category/(.*)$ /\?\/home/explore/category/$1 [L]
RewriteRule ^/feed/(.*)$ /\?\/feed/$1 [L]
RewriteRule ^/first_(.)$ /\?\/first_(.)/$1 [L]
RewriteRule ^/follow/(.*)$ /\?\/follow/$1 [L]
RewriteRule ^/weixin/(.*)$ /\?\/weixin/$1 [L]
已邀请:

w850620

赞同来自: 莫问

微信平台用了这个规则出错,所以需要Token URL 改成http://你的域名/?/weixin/api/来处理

这货会火 - 企业建站

赞同来自: why3316

你好,这个规则写在什么文件里?
然后放到哪里
前来支持老大!不知道啥时候官方能出一点模板,感觉UI不是很好看捏=。=

赫赫无敌 - 国外网站推荐|www.egouz.com

使用这个rewrite规则以后,干嘛访问的速度上有所改善!

cadcamzy - http://help.eui.cc

还是没说, 放在子目录中的, 规则如何写...

MOOSOO - Ranger

二级目录下不会写……老是404
用上就是404,有没有可以用的啊
用了还是不行。。。能不能直接给个文件下载,说明上传路径什么啊?
用上就是404,有没有可以用的啊

该问题目前已经被锁定, 无法添加新回复