asp.net URL Rewrite配置_v1.0asp.net URL Rewrite配置
作者:cnmole 交流QQ:370992933
1、将URLRewriter.dll和ActionlessForm.dll复制到/bin目录
2、web.config配置
~/test/html/(\w{1,}).aspx
~/test/ html /a.aspx?id=$1
...
asp.net URL Rewrite配置
作者:cnmole 交流QQ:370992933
1、将URLRewriter.dll和ActionlessForm.dll复制到/bin目录
2、web.config配置
~/test/html/(\w{1,}).aspx~/test/ html /a.aspx?id=$1~/test/ html /(\w{1,}).xml~/test/ html /a.aspx?id=$1
3、如果需要支持.html,则还要在IIS中配置