关于Url转向问题!求助 使用了URLRewriter.dll但我要 aa11.aspx 转向 bb.aspx?id=11 很好做到 但我想 ~/china/userno/ 转到 ~/userno/index.aspx?userno=userno 就做不到了,还有 aa11.html 转向 bb.aspx?id=11 也不行请问各位大虾们,如何解决 小弟我用的是 03谢谢! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 看看你webconfig的那些配置另外htm的需要添加映射 <configSections> <section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter" /> </configSections> <RewriterConfig> <Rules> <RewriterRule> <LookFor>~/dd(\d+).shtml</LookFor> <SendTo>~/showerror.aspx?msg=$1</SendTo> </RewriterRule> </Rules> </RewriterConfig> <httpModules> <add type="URLRewriter.ModuleRewriter, URLRewriter" name="ModuleRewriter" /> </httpModules> datatime 的一个问题. 验证控件 关于提交延时的问题 System.Web.Security安全问题不懂。 2005/7 举报.处理.建议专用贴(asp.net) 高手们帮帮我啊!!!显示的问题啊!!!! jquery easyui 反复加载 请教:页面传参问题 用VB.NET写ASP.NET, 如何取得DataGrid里面编辑文本框中输入的值? 有关密码的正则表达式 安装vs2005的时候装了sql 2005 express,怎么用啊? 关与水晶报表的问题,真的搞了好长时间,请大家帮帮忙
另外htm的需要添加映射
<section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter" />
</configSections>
<RewriterConfig>
<Rules>
<RewriterRule>
<LookFor>~/dd(\d+).shtml</LookFor>
<SendTo>~/showerror.aspx?msg=$1</SendTo>
</RewriterRule>
</Rules>
</RewriterConfig> <httpModules>
<add type="URLRewriter.ModuleRewriter, URLRewriter" name="ModuleRewriter" />
</httpModules>