请问我如何实现这种URL重写: <RewriterRule>
<LookFor>~/house/sale/default\.html</LookFor>
<SendTo>~/list.aspx?CategoryID=45&typeid=1&areaid=</SendTo>
</RewriterRule>我这里的CategoryID是取不同的值,如果CategoryID=45就是重写成>~/house/sale/default\.html,如果CategoryID=52就重写成>~/house/bsel/default\.html.
<LookFor>~/house/sale/default\.html</LookFor>
<SendTo>~/list.aspx?CategoryID=45&typeid=1&areaid=</SendTo>
</RewriterRule>我这里的CategoryID是取不同的值,如果CategoryID=45就是重写成>~/house/sale/default\.html,如果CategoryID=52就重写成>~/house/bsel/default\.html.
解决方案 »
- $("a.tooltip").mouseover(function(e){ 这里的e是什么,从何而来,去哪里?
- 急!!!求高手js 后台代码转换问题
- 视频挡住Panel
- 如何获取到新插入表中的自增长ID值
- 请推荐一些使用Castle的开源项目!!
- 请教DataGrid的TamplateColumn的问题
- 高手请进:从excel导入数据到sql server时候出现的问题?
- 关于中文文件名是乱吗!!!!!!!!!!!!!!!!!!!!!!!!
- 谁仔细研究过smartNavigation,为什么加上后会出现脚本错误
- 语法错误,大家帮我看看:
- 如何计算Excel中自动适应文本的宽度(即最适合的列宽)
- 用水晶报表开发,部署时出现“报表加载失败”,怎么办?
《在ASP.Net2.0中使用UrlRewritingNet实现链接重写》http://www.cnblogs.com/heekui/archive/2007/03/09/669379.html