RSS订阅优然探索
你的位置:首页 » 技术笔记 » 正文

C# HttpModule文章(二)

选择字号: 超大 标准 发布时间:2008-9-10 21:10:14 | 作者:admin | 0个评论 | 人浏览

<?xml version="1.0" encoding="utf-8" ?>
<urls>
 <rewrite name="clistone" path="/clistone{0}.aspx" pattern="/clistone(\d+).aspx" page="/clistone.aspx"
  querystring="id=$1" />
 <rewrite name="detail" path="/detail{0}.aspx" pattern="/detail(\d+).aspx" page="/detail.aspx"
  querystring="id=$1" />
 <rewrite name="ldetail" path="/ldetail{0}.aspx" pattern="/ldetail(\d+).aspx" page="/ldetail.aspx"
  querystring="id=$1" />
 <rewrite name="detail" path="/detail{0}-{1}.aspx" pattern="/detail(\d+)-((\d+))?.aspx" page="/detail.aspx"
  querystring="id=$1^Apage=$2" />
 <rewrite name="ldetail" path="/ldetail{0}-{1}.aspx" pattern="/ldetail(\d+)-((\d+))?.aspx"
  page="/ldetail.aspx" querystring="id=$1^Apage=$2" />
 <rewrite name="clist" path="/clist{0}.aspx" pattern="/clist(\d+).aspx" page="/clist.aspx"
  querystring="id=$1" />
 <rewrite name="/about/about" path="/about/about{0}.aspx" pattern="/about/about(\d+).aspx"
  page="/about/about.aspx" querystring="id=$1" />
 <rewrite name="nlistshow" path="/nlistshow{0}.aspx" pattern="/nlistshow(\d+).aspx" page="/nlistshow.aspx"
  querystring="id=$1" />
 <rewrite name="/soft/soft" path="/soft/soft{0}.aspx" pattern="/soft/soft(\d+).aspx" page="/soft/soft.aspx"
  querystring="id=$1" />
 <rewrite name="/soft/photo" path="/soft/photo{0}.aspx" pattern="/soft/photo(\d+).aspx" page="/soft/photo.aspx"
  querystring="id=$1" />
</urls>

标签:C#  

发表评论

必填

选填

选填

必填,不填不让过哦,嘻嘻。

记住我,下次回复时不用重新输入个人信息

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。