UrlRewritingNet 实现重写问题
把http://localhost:3263/URLWrite/shounews.aspx?id=127重写为http://localhost:3263/URLWrite/shounews.aspx/127.aspx如何实现。
在web.config 里规则是不是这样写的:
<add name="UserAccount" virtualUrl="^~/(\d+).aspx" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/shounews.aspx?id=$1" ignoreCase="true" />
请各位帮忙解决一下!
谢谢! --------------------编程问答-------------------- 参考:
动态网页变静态
--------------------编程问答-------------------- http://www.shilicn.com/
http://www.65066.com.cn/
帮顶下 --------------------编程问答--------------------
<rewrite url="^~/URLWrite/shounews/(\d+).aspx$" to="~/URLWrite/shounews.aspx?id=$1" />
补充:.NET技术 , ASP.NET