Nic*_*rdi 25

尝试托管Fusion Url重写器和反向代理:

http://urlrewriter.codeplex.com

重写这个的规则是:

# clean up old rules and forward to new URL
RewriteRule ^/?user=(.*)  /users/$1 [NC,R=301]

# rewrite the rule internally
RewriteRule ^/users/(.*)  /?user=$1 [NC,L]
Run Code Online (Sandbox Code Playgroud)


Sam*_*ron 5

Microsoft现在为IIS提供官方URL重写模块:http://www.iis.net/download/urlrewrite

它支持大多数类型的重写,包括设置服务器变量和通配符.

它也将存在于开箱即用的所有Azure Web实例上.