找回密码
 注册会员

扫一扫,访问微社区

QQ登录

只需一步,快速开始

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

[补丁发布] 嘉缘人才V2014版伪静态规则之apache下.htaccess

[复制链接]

495

主题

2663

回帖

20万

积分

管理员

积分
207527

社区居民新人进步

发表于 2014-6-29 13:06:53 | 显示全部楼层 |阅读模式
嘉缘人才V2014版伪静态规则之apache下.htaccess,代码如下:
  1. # 将 RewriteEngine 模式打开
  2. RewriteEngine On
  3. RewriteBase /

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

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

  20. RewriteRule ^(.*)/an([0-9]+)\.html\?*(.*)$ /article/info.php?id=$2&$3
  21. RewriteRule ^(.*)/an([0-9]+)_([0-9]+)\.html\?*(.*)$ /article/info.php?id=$2&page=$3&$4
  22. RewriteRule ^(.*)/al([0-9]+)\.html\?*(.*)$ /article/list.php?id=$2&$3
  23. RewriteRule ^(.*)/al([0-9]+)_([0-9]+)\.html\?*(.*)$ /article/list.php?id=$2&page=$3&$4

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

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

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

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

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

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

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

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

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



十一休了整整13天,嘉缘福利好,没办法
回复

使用道具 举报

29

主题

122

回帖

1200

积分

商业客户-标准

积分
1200

社区居民

发表于 2014-6-29 21:49:32 | 显示全部楼层
支持下  我想问下 我们怎么用
回复 支持 反对

使用道具 举报

276

主题

681

回帖

119万

积分

管理员

积分
1192845

社区居民忠实会员

QQ
发表于 2014-7-4 09:23:50 | 显示全部楼层
按相关的说明教程来设置即可,如有疑问可及时回复本贴
手机触屏版得到了很多客户的好评赞誉
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-4 08:01 , Processed in 0.102452 second(s), 28 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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