找回密码
 注册会员

扫一扫,访问微社区

QQ登录

只需一步,快速开始

立即体验天翼云服务器(质量靠谱V3.6版本中需要设置的地方汇总点此领幸运券买阿里云优惠多
查看: 3692|回复: 2

[补丁发布] 嘉缘人才v2014伪静态之ISAPI_Rewrite

[复制链接]

495

主题

2663

回帖

20万

积分

管理员

积分
207527

社区居民新人进步

发表于 2014-6-29 13:01:56 | 显示全部楼层 |阅读模式

嘉缘人才v2014伪静态之iis6下[ISAPI_Rewrite]
  1. [ISAPI_Rewrite]
  2. # FR-HRCMS PHP2014
  3. # 3600 = 1 hour
  4. CacheClockRate 3600
  5. RepeatLimit 32
  6. # Protect httpd.ini and httpd.parse.errors files
  7. # from accessing through HTTP

  8. RewriteRule ^(.*)/index.html\?*(.*)$ $1/index.php\?$2
  9. RewriteRule ^(.*)/c([0-9]+)\.html\?*(.*)$ /co/company.php?id=$2&$3
  10. RewriteRule ^(.*)/ch([0-9]+)\.html\?*(.*)$ /co/hire.php?id=$2&$3
  11. RewriteRule ^(.*)/chs([0-9]+)\.html\?*(.*)$ /co/hires.php?id=$2&$3
  12. RewriteRule ^(.*)/cn([0-9]+)\.html\?*(.*)$ /co/new.php?id=$2&$3
  13. RewriteRule ^(.*)/cp([0-9]+)\.html\?*(.*)$ /co/pic.php?id=$2&$3
  14. RewriteRule ^(.*)/cps([0-9]+)\.html\?*(.*)$ /co/pics.php?id=$2&$3
  15. RewriteRule ^(.*)/cm([0-9]+)\.html\?*(.*)$ /co/map.php?id=$2&$3
  16. RewriteRule ^(.*)/cc([0-9]+)\.html\?*(.*)$ /co/comment.php?id=$2&$3
  17. RewriteRule ^(.*)/cg([0-9]+)\.html\?*(.*)$ /co/guestbook.php?id=$2&$3
  18. RewriteRule ^(.*)/cct([0-9]+)\.html\?*(.*)$ /co/contact.php?id=$2&$3

  19. RewriteRule ^(.*)/p([0-9]+)\.html\?*(.*)$ /person/person.php?id=$2&$3
  20. RewriteRule ^(.*)/pr([0-9]+)\.html\?*(.*)$ /person/resume.php?id=$2&$3
  21. RewriteRule ^(.*)/pp([0-9]+)\.html\?*(.*)$ /person/pic.php?id=$2&$3
  22. RewriteRule ^(.*)/pc([0-9]+)\.html\?*(.*)$ /person/comment.php?id=$2&$3
  23. RewriteRule ^(.*)/prl([a-z_]+)\.html\?*(.*)$ /person/resumelist.php?t=$2&$3

  24. RewriteRule ^(.*)/an([0-9]+)\.html\?*(.*)$ /article/info.php?id=$2&$3
  25. RewriteRule ^(.*)/an([0-9]+)_([0-9]+)\.html\?*(.*)$ /article/info.php?id=$2&page=$3&$4
  26. RewriteRule ^(.*)/al([0-9]+)\.html\?*(.*)$ /article/list.php?id=$2&$3
  27. RewriteRule ^(.*)/al([0-9]+)_([0-9]+)\.html\?*(.*)$ /article/list.php?id=$2&page=$3&$4

  28. RewriteRule ^(.*)/dl([0-9]+)\.html\?*(.*)$ /down/list.php?id=$2&$3
  29. RewriteRule ^(.*)/dd([0-9]+)\.html\?*(.*)$ /down/down.php?id=$2&$3

  30. RewriteRule ^(.*)/el([0-9]+)\.html\?*(.*)$ /evalua/list.php?id=$2&$3
  31. RewriteRule ^(.*)/ei([0-9]+)\.html\?*(.*)$ /evalua/info.php?id=$2&$3

  32. RewriteRule ^(.*)/smj([0-9]+)\.html\?*(.*)$ /co/major.php?id=$2&$3
  33. RewriteRule ^(.*)/sms([0-9]+)\.html\?*(.*)$ /co/majors.php?id=$2&$3
  34. RewriteRule ^(.*)/ss([0-9]+)\.html\?*(.*)$ /co/student.php?id=$2&$3
  35. RewriteRule ^(.*)/sss([0-9]+)\.html\?*(.*)$ /co/students.php?id=$2&$3
  36. RewriteRule ^(.*)/spr([0-9]+)\.html\?*(.*)$ /co/professor.php?id=$2&$3
  37. RewriteRule ^(.*)/sps([0-9]+)\.html\?*(.*)$ /co/professors.php?id=$2&$3
  38. RewriteRule ^(.*)/sr([0-9]+)\.html\?*(.*)$ /co/require.php?id=$2&$3
  39. RewriteRule ^(.*)/srs([0-9]+)\.html\?*(.*)$ /co/requires.php?id=$2&$3
  40. RewriteRule ^(.*)/ssl_([0-9]+)\.html\?*(.*)$ /school/schoollist.php?page=$2&$3
  41. RewriteRule ^(.*)/spl_([0-9]+)\.html\?*(.*)$ /school/professorlist.php?page=$2&$3
  42. RewriteRule ^(.*)/srl_([0-9]+)\.html\?*(.*)$ /school/requirelist.php?page=$2&$3
  43. RewriteRule ^(.*)/sstl_([0-9]+)\.html\?*(.*)$ /school/studentlist.php?page=$2&$3
  44. RewriteRule ^(.*)/sml_([0-9]+)\.html\?*(.*)$ /school/majorlist.php?page=$2&$3

  45. RewriteRule ^(.*)/tce([0-9]+)\.html\?*(.*)$ /co/course.php?id=$2&$3
  46. RewriteRule ^(.*)/tcs([0-9]+)\.html\?*(.*)$ /co/courses.php?id=$2&$3
  47. RewriteRule ^(.*)/tt([0-9]+)\.html\?*(.*)$ /co/trainer.php?id=$2&$3
  48. RewriteRule ^(.*)/tts([0-9]+)\.html\?*(.*)$ /co/trainers.php?id=$2&$3
  49. RewriteRule ^(.*)/ti([0-9]+)_([0-9]+)\.html\?*(.*)$ /co/info.php?t=$2&id=$3&$4
  50. RewriteRule ^(.*)/ttl_([0-9]+)\.html\?*(.*)$ /train/trainlist.php?page=$2&$3
  51. RewriteRule ^(.*)/tcl_([0-9]+)\.html\?*(.*)$ /train/courselist.php?page=$2&$3
  52. RewriteRule ^(.*)/ttrl_([0-9]+)\.html\?*(.*)$ /train/trainerlist.php?page=$2&$3

  53. RewriteRule ^(.*)/hrlist\.html\?*(.*)$ /hr/list.php?$2
  54. RewriteRule ^(.*)/hr([0-9]+)\.html\?*(.*)$ /hr/hr.php?id=$2&$3
  55. RewriteRule ^(.*)/hsh([0-9]+)\.html\?*(.*)$ /hr/seniorhire.php?id=$2&$3

  56. RewriteRule ^(.*)/hi([0-9]+)_([0-9]+)\.html\?*(.*)$ /co/info.php?t=$2&id=$3&$3
  57. RewriteRule ^(.*)/hss([0-9]+)\.html\?*(.*)$ /co/seniorhires.php?id=$2&$3
  58. RewriteRule ^(.*)/hs([0-9]+)\.html\?*(.*)$ /co/seniorhire.php?id=$2&$3
  59. RewriteRule ^(.*)/hsl_([0-9]+)\.html\?*(.*)$ /hunter/seniorhirelist.php?page=$2&$3
  60. RewriteRule ^(.*)/hhl_([0-9]+)\.html\?*(.*)$ /hunter/hunterlist.php?page=$2&$3

  61. RewriteRule ^(.*)/common/([a-z_]+)\.html\?*(.*)$ $1/common/$2.php?$3
  62. RewriteRule ^(.*)/common/([a-z_]+)([0-9]+)\.html\?*(.*)$ $1/common/$2.php?id=$3&$4

  63. RewriteRule ^(.*)/vvh([0-9]+)\.html\?*(.*)$ /vhire/vhire.php?id=$2&$3
  64. RewriteRule ^(.*)/vvr([0-9]+)\.html\?*(.*)$ /vhire/vresume.php?id=$2&$3
  65. RewriteRule ^(.*)/vvhl_([0-9]+)\.html\?*(.*)$ /vhire/vhirelist.php?page=$2&$3
  66. RewriteRule ^(.*)/vvrl_([0-9]+)\.html\?*(.*)$ /vhire/vresumelist.php?page=$2&$3

  67. RewriteRule ^(.*)/zi([0-9]+)\.html\?*(.*)$ /zph/info.php?zid=$2&$3
复制代码


以上代码复制到命名为httpd.ini文件中,在服务器IIS上设置支持Rewrite,然后在后台开启伪静态,清理缓存。
十一休了整整13天,嘉缘福利好,没办法
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

QQ|Archiver|手机版|小黑屋|嘉缘软件官网 ( 沪ICP备12042403号-2 )

GMT+8, 2025-4-4 08:14 , Processed in 0.086020 second(s), 27 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表