源码论坛公告:本站是一个交流学习建站资源的社区论坛,旨在交流学习源码脚本等资源技术,欢迎大家投稿发言! 【点击此处将锦尚放在桌面

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

 找回密码
 会员注册

QQ登录

只需一步,快速开始

查看: 1422|回复: 1
打印 上一主题 下一主题

谁能给我份仿163ksp5的伪静态规则

[复制链接]

11

主题

1863

帖子

150

金币

初级会员

Rank: 1

积分
1681
跳转到指定楼层
1#
发表于 2011-4-16 08:19:25 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
谁能给我份仿163ksp5的伪静态规则   自己不会弄   QQ838574955
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享

6

主题

68

帖子

56

金币

初级会员

Rank: 1

积分
300
2#
发表于 2011-4-21 17:15:33 | 只看该作者
为了不扰乱会员对源码的测试,有问题咨询右侧客服不要直接回复,否则视为非法信息屏蔽会员ID!
下载了网人官方的,里面只有点点内容,剩下的都是我自己写的,之前一直在用,不过我嫌这个系统速度太慢了已经放弃了
伪静态规则扔那也是浪费,不如拿出来共享
首页如果不生成静态的话“#顶级无参页面”下面那行请自行注释掉
  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]
复制代码
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

锦尚中国源码论坛

聚合标签|锦尚中国,为中国网站设计添动力 ( 鲁ICP备09033200号 ) |网站地图

GMT+8, 2024-11-24 01:07 , Processed in 0.112378 second(s), 25 queries .

带宽由 锦尚数据 提供 专业的数据中心

© 锦尚中国源码论坛 52jscn Inc. 非法入侵必将受到法律制裁 法律顾问:IT法律网 & 褚福省律师 锦尚爱心 版权申诉 版权与免责声明