源码论坛,商业源码下载,尽在锦尚中国商业源码论坛

标题: 谁能给我份仿163ksp5的伪静态规则 [打印本页]

作者: bzqq    时间: 2011-4-16 08:19
标题: 谁能给我份仿163ksp5的伪静态规则
谁能给我份仿163ksp5的伪静态规则   自己不会弄   QQ838574955
作者: fishstone    时间: 2011-4-21 17:15
下载了网人官方的,里面只有点点内容,剩下的都是我自己写的,之前一直在用,不过我嫌这个系统速度太慢了已经放弃了
伪静态规则扔那也是浪费,不如拿出来共享
首页如果不生成静态的话“#顶级无参页面”下面那行请自行注释掉
  1. [ISAPI_Rewrite]

  2. # 3600 = 1 hour
  3. CacheClockRate 3600

  4. RepeatLimit 32

  5. # Protect httpd.ini and httpd.parse.errors files
  6. # from accessing through HTTP

  7. # WRMPS 6.2.0 Rewrite 规则
  8. # fishstone@163.com 制作

  9. #顶级无参页面
  10. RewriteRule ^(.*)/([a-zA-Z0-9]+)\.html$ $1/$2\.asp [I]
  11. RewriteRule ^(.*)/shop/$ $1/company/index\.asp [I]
  12. RewriteRule ^(.*)/shop$ $1/company/index\.asp [I]
  13. RewriteRule ^(.*)/help/$ $1/about/help\.asp [I]
  14. RewriteRule ^(.*)/help$ $1/about/help\.asp [I]
  15. #RewriteRule ^(.*)/([a-zA-Z0-9]+)\.html

  16. #城市分站
  17. RewriteRule ^(.*)/city_([0-9]+)/$ $1/Index\.asp\?ConversionCity=$2 [I]
  18. RewriteRule ^(.*)/city_([0-9]+)$ $1/Index\.asp\?ConversionCity=$2 [I]

  19. #简/完整版首页
  20. RewriteRule ^(.*)/index_([0-9]+)/$ $1/Index\.asp\?Briefness=$2 [I]
  21. RewriteRule ^(.*)/index_([0-9]+)$ $1/Index\.asp\?Briefness=$2 [I]

  22. #帮助
  23. RewriteRule ^(.*)/about/help_([0-9]+)\.html$ $1/about/help\.asp?id=$2 [I]

  24. #无参数页面
  25. RewriteRule ^(.*)/([a-zA-Z]+)/([a-zA-Z]+)\.html$ $1/$2/$3\.asp [I]

  26. #含show单词的页面
  27. RewriteRule ^(.*)/([a-zA-Z]+)/show_([0-9]+)\.html$ $1/$2/show\.asp?id=$3 [I]

  28. #团购
  29. RewriteRule ^(.*)/tuangou/tuangou_([0-9]+)\.html$ $1/tuangou/tuangou\.asp\?activeid=$2 [I]

  30. #招聘求职
  31. RewriteRule ^(.*)/job/company_([0-9]+)\.html$ $1/job/company\.asp\?id=$2 [I]
  32. RewriteRule ^(.*)/job/jianli_([0-9]+)\.html$ $1/job/jianli\.asp\?jobid=$2 [I]
  33. RewriteRule ^(.*)/job/zhiwei_([0-9]+)_([0-9]+)\.html$ $1/job/zhiwei\.asp\?userid=$2&zhiweiid=$3 [I]
  34. RewriteRule ^(.*)/job/job_([a-zA-Z]+)_([0-9]+)\.html$ $1/job/job_$2\.asp\?categoryid=$3 [I]

  35. #店铺
  36. RewriteRule ^(.*)/co_([0-9]+)/$ $1/company/co\.asp\?ID=$2 [I]
  37. RewriteRule ^(.*)/co_([0-9]+)$ $1/company/co\.asp\?ID=$2 [I]
  38. RewriteRule ^(.*)/company/([a-zA-Z]+)_([0-9]+)\.html$ $1/company/$2\.asp\?ID=$3 [I]
  39. RewriteRule ^(.*)/company/([a-zA-Z]+)_([0-9]+)_p([0-9]+)\.html$ $1/company/$2\.asp\?ID=$3&page=$4 [I]

  40. #照片库
  41. RewriteRule ^(.*)/photo/picsa_([0-9]+)_([0-9]+)\.html$ $1/photo/picsa\.asp\?colname=$2&page=$3 [I]
  42. RewriteRule ^(.*)/photo/picsa_([0-9]+)\.html$ $1/photo/picsa\.asp\?colname=$2 [I]

  43. #列表页及详细页面
  44. RewriteRule ^(.*)/([a-zA-Z]+)/list_([0-9]+)\.html$ $1/$2/list\.asp\?categoryid=$3&styleid=$3 [I]
  45. RewriteRule ^(.*)/([a-zA-Z]+)/list_([0-9]+)_p([0-9]+)\.html$ $1/$2/list\.asp\?categoryid=$3&styleid=$3&page=$4 [I]
  46. RewriteRule ^(.*)/([a-zA-Z]+)/show_([0-9]+)_([0-9]+)\.html$ $1/$2/show\.asp\?kind=$4&id=$3 [I]
  47. RewriteRule ^(.*)/([a-zA-Z]+)/bianming_([0-9]+)\.html$ $1/$2/show\.asp\?id=$3 [I]
  48. RewriteRule ^(.*)/([a-zA-Z]+)/listtit_([0-9]+)\.html$ $1/$2/list\.asp\?styleid=$3 [I]
  49. RewriteRule ^(.*)/([a-zA-Z]+)/index_([0-9]+)\.html$ $1/$2/index\.asp\?categoryid=$3 [I]
  50. RewriteRule ^(.*)/([a-zA-Z]+)/photo_([0-9]+)\.html$ $1/$2/photo\.asp\?id=$3 [I]
  51. RewriteRule ^(.*)/([a-zA-Z]+)/help_([0-9]+)_([0-9]+)\.html$ $1/$2/help\.asp\?id=$3&categoryid=$4 [I]

  52. #翻页
  53. RewriteRule ^(.*)/([a-zA-Z]+)/([a-zA-Z]+)_([a-zA-Z]+)_p([0-9]+)\.html$ $1/$2/$3_$4\.asp\?page=$5 [I]
  54. RewriteRule ^(.*)/([a-zA-Z]+)/([a-zA-Z]+)_p([0-9]+)\.html$ $1/$2/$3.asp\?page=$4 [I]

  55. #点评
  56. RewriteRule ^(.*)/re_([0-9]+)_([0-9]+)/$ $1/Company/Critique/Index\.asp\?ComID=$2&Page=$3 [I]
  57. RewriteRule ^(.*)/re_([0-9]+)_([0-9]+)$ $1/Company/Critique/Index\.asp\?ComID=$2&Page=$3 [I]

  58. #公告
  59. RewriteRule ^(.*)/notice/notice_([0-9]+)\.html$ $1/notice/notice\.asp\?id=$2 [I]


  60. #列表页,文章、信息、店铺、优惠券
  61. RewriteRule ^(.*)/([\.a-zA-Z0-9]*)_([0-9]+)_([0-9]+)_([0-9]+)/$ $1/$2/Class\.asp\?ID=$3&Page=$4 [I]
  62. RewriteRule ^(.*)/([\.a-zA-Z0-9]*)_([0-9]+)_([0-9]+)_([0-9]+)$ $1/$2/Class\.asp\?ID=$3&Page=$4 [I]

  63. #内容查看页
  64. RewriteRule ^(.*)/([\.a-zA-Z0-9]*)_([a-z0-9A-Z]+)_([0-9]+)/$ $1/$2/show\.asp\?ID=$3&Page=$4 [I]
  65. RewriteRule ^(.*)/([\.a-zA-Z0-9]*)_([a-z0-9A-Z]+)_([0-9]+)$ $1/$2/show\.asp\?ID=$3&Page=$4 [I]

  66. #自助建站
  67. RewriteRule ^(.*)/co/([0-9]+)/([a-zA-Z]+)_([0-9]+).html$ $1/co/$2/$3\.asp\?SID=$4 [I]
  68. RewriteRule ^(.*)/co/([0-9]+)/([a-zA-Z]+)_list_([0-9]+)_([0-9]+).html$ $1/co/$2/$3\.asp\?sortid=$4&Page=$5 [I]
复制代码





欢迎光临 源码论坛,商业源码下载,尽在锦尚中国商业源码论坛 (https://bbs.52jscn.com/) Powered by Discuz! X3.3