urls.config
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:3k
源码类别:

SCSI/ASPI

开发平台:

Others

  1. <?xml version="1.0" encoding="utf-8" ?> 
  2. <urls>
  3.      <rewrite name="showforum"
  4.           path="/showforum-{0}-{1}.aspx"
  5.           pattern = "/showforum-(d+)(-(d+))?.aspx"
  6.           page="/showforum.aspx"
  7.           querystring="forumid=$1^page=$3" />
  8.     <rewrite name="showtopic"
  9.           path="/showtopic-{0}-{1}.aspx"
  10.           pattern = "/showtopic-(d+)(-(d+))?.aspx"
  11.           page="/showtopic.aspx"
  12.           querystring="topicid=$1^page=$3" />
  13.     <rewrite name="userinfo"
  14.           path="/userinfo-{0}.aspx"
  15.           pattern = "/userinfo-(d+)*.aspx"
  16.           page="/userinfo.aspx"
  17.           querystring="userid=$1" />
  18.      <rewrite name="rss"
  19.           path="/rss-{0}.aspx"
  20.           pattern = "/rss-(d+)?.aspx"
  21.           page="/rss.aspx"
  22.           querystring="forumid=$1" />
  23.      <rewrite name="spacerss"
  24.           path="/spacerss-{0}.aspx"
  25.           pattern="/spacerss(-(d+))?.aspx(?.*?)?"
  26.           page="/rss.aspx"
  27.           querystring="uid=$2^type=space" />
  28.      <rewrite name="photorss"
  29.           path="/photorss-{0}.aspx"
  30.           pattern="/photorss(-(d+))?.aspx(?.*?)?"
  31.           page="/rss.aspx"
  32.           querystring="uid=$2^type=photo" />
  33.      <rewrite name="postgoods"
  34.          path="/postgoods-{0}.aspx"
  35.          pattern = "/postgoods-(d+)*.aspx"
  36.          page="/postgoods.aspx"
  37.          querystring="categoryid=$1" />
  38.     <rewrite name="showgoodslist"
  39.         path="/showgoodslist-{0}-{1}.aspx"
  40.          pattern = "/showgoodslist-(d+)(-(d+))?.aspx"
  41.          page="/showgoodslist.aspx"
  42.          querystring="categoryid=$1^page=$3" />
  43.     <rewrite name="mallgoodslist"
  44.         path="/mallgoodslist-{0}-{1}.aspx"
  45.          pattern = "/mallgoodslist-(d+)(-(d+))?.aspx"
  46.          page="/mallgoodslist.aspx"
  47.          querystring="categoryid=$1^page=$3" />
  48.     <rewrite name="showgoods"
  49.           path="/showgoods-{0}.aspx"
  50.           pattern = "/showgoods-(d+)*.aspx"
  51.           page="/showgoods.aspx"
  52.           querystring="goodsid=$1" />
  53.     <rewrite name="topictag"
  54.         path="/topictag-{0}.aspx"
  55.          pattern = "/topictag-(d+)?.aspx"
  56.          page="/tags.aspx"
  57.          querystring="tagid=$1^t=topic" />
  58.     <rewrite name="spacetag"
  59.         path="/spacetag-{0}.aspx"
  60.          pattern = "/spacetag-(d+)?.aspx"
  61.          page="/tags.aspx"
  62.          querystring="tagid=$1^t=spacepost" />
  63.     <rewrite name="phototag"
  64.         path="/phototag-{0}.aspx"
  65.          pattern = "/phototag-(d+)?.aspx"
  66.          page="/tags.aspx"
  67.          querystring="tagid=$1^t=photo" />
  68. <rewrite name="showphoto"
  69.   path="/showphoto-{0}.aspx"
  70.   pattern = "/showphoto-(d+)?.aspx"
  71.   page="/showphoto.aspx"
  72.   querystring="photoid=$1" />
  73. <rewrite name="showalbum"
  74.   path="/showalbum-{0}.aspx"
  75.   pattern = "/showalbum-(d+)?.aspx"
  76.   page="/showalbum.aspx"
  77.   querystring="albumid=$1" />
  78. <rewrite name="showbonus"
  79.   path="/showbonus-{0}.aspx"
  80.   pattern = "/showbonus-(d+)?.aspx"
  81.   page="/showbonus.aspx"
  82.   querystring="topicid=$1" />
  83. <rewrite name="malltag"
  84.         path="/malltag-{0}.aspx"
  85.          pattern = "/malltag-(d+)?.aspx"
  86.          page="/tags.aspx"
  87.          querystring="tagid=$1^t=mall" />
  88. <rewrite name="showdebate"
  89.         path="/showdebate-{0}.aspx"
  90.          pattern = "/showdebate-(d+)?.aspx"
  91.          page="/showdebate.aspx"
  92.          querystring="topicid=$1" />
  93. </urls>