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

门户通伪静太和404错误转向

[复制链接]
跳转到指定楼层
1#
发表于 2009-10-29 08:02:39 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
  1. - y1 I' }- b7 @2 L
  2. deny from all6 Z  C6 e" Z$ f+ N& h
  3. 9 ?" a9 L- V" V  ]
  4. Options -Indexes
    : e  h. [  `, a9 @" e4 X
  5. ErrorDocument 400 http://www.wfclass.cn/404.html
    $ p% k, m7 W. h0 \% j! r% |
  6. ErrorDocument 401 http://www.wfclass.cn/404.html' e2 Q3 K6 P% w! w
  7. ErrorDocument 402 http://www.wfclass.cn/404.html
    , i& G( f5 c# Y6 F  h! T
  8. ErrorDocument 403 http://www.wfclass.cn/404.html  w# {% U' V+ z, X
  9. ErrorDocument 404 http://www.wfclass.cn/404.html4 I3 Y8 a# C5 N/ c  x
  10. ErrorDocument 405 http://www.wfclass.cn/404.html
    : ^7 s  }5 k1 t' Z
  11. ErrorDocument 406 http://www.wfclass.cn/404.html
    + Q5 Y6 R( m% S
  12. ErrorDocument 407 http://www.wfclass.cn/404.html4 G$ l( a& M" w7 J: c1 C6 m( G* r
  13. ErrorDocument 408 http://www.wfclass.cn/404.html
    # b, N) {, ~8 L5 L
  14. ErrorDocument 409 http://www.wfclass.cn/404.html
    6 V7 z( D. `7 P  j1 {2 \6 Y, R
  15. ErrorDocument 410 http://www.wfclass.cn/404.html6 n* k- V8 N( U5 v
  16. ErrorDocument 411 http://www.wfclass.cn/404.html
    / a" }0 G! @1 s6 A* E
  17. ErrorDocument 412 http://www.wfclass.cn/404.html
    * l: s4 z  d/ d/ [: r& d$ W
  18. ErrorDocument 413 http://www.wfclass.cn/404.html
    ' x* S8 ^) c5 r( e+ _
  19. ErrorDocument 414 http://www.wfclass.cn/404.html# G- L1 z" z( ?" ^0 ^/ J9 [" x' O
  20. ErrorDocument 500 http://www.wfclass.cn/404.html7 o0 x$ \- t* J3 ^
  21. ErrorDocument 501 http://www.wfclass.cn/404.html% d% B. Z4 c% s  X
  22. ErrorDocument 502 http://www.wfclass.cn/404.html
    5 z5 Y8 M2 _: i9 N! b# p( P
  23. ErrorDocument 503 http://www.wfclass.cn/404.html& s" V( x. j" [2 a
  24. ErrorDocument 504 http://www.wfclass.cn/404.html
    + `0 H* h* m- H8 f0 Z, o0 g% g
  25. ErrorDocument 505 http://www.wfclass.cn/404.html+ W9 U4 j. m7 o
  26. order deny,allow
    # W3 x: x" N  ?$ v# t: [" Q& v& E7 X
  27. 8 L' D' H0 {  s- B/ |& y( ?. i

  28. 6 g- A# q, d5 P: X  v$ {6 _

  29. 7 G# K( K2 ^- ]6 N" J) Q- r
  30. RewriteEngine On6 W! R4 H9 J. F7 a% _  O+ e, ]
  31. RewriteBase /4 q5 Z; b8 @4 j) H: Y  `
  32. RewriteRule ^info-id-([0-9]+)\/$ public/info.php?id=$1
    & E" ^2 {& @( Q* u
  33. RewriteRule ^info-page-([0-9]+)\/$ public/info.php?page=$1
    4 s; \) x( W  g
  34. RewriteRule ^info-catid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&page=$2+ M) ]# G, w. E. d1 ~
  35. RewriteRule ^info-catid-([0-9]+)-areaid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&areaid=$2&page=$3( V6 [5 _* W# G7 j9 X9 S  j
  36. RewriteRule ^aboutus\/$ public/about.php?part=aboutus( b" ^, Q/ M8 j2 X& y& T
  37. RewriteRule ^aboutus-id-([0-9]+)\/$ public/about.php?part=aboutus&id=$1
    , @7 q4 `0 s2 G5 M1 ~- }
  38. RewriteRule ^announce-page-([0-9]+)\/$ public/about.php?part=announce&page=$1
    $ G1 p  w& R; ]. }9 U
  39. RewriteRule ^announce-id-([0-9]+)\/$ public/about.php?part=announce&id=$12 u# b) p) d3 O& _. |
  40. RewriteRule ^faq\/$ public/about.php?part=faq
    6 P% L9 s% G, G9 u' G: Y% C" R
  41. RewriteRule ^faq-id-([0-9]+)\/$ public/about.php?part=faq&id=$1
    / X+ q* p! B8 }2 d1 ]5 T$ {
  42. RewriteRule ^friendlink\/$ public/about.php?part=friendlink6 `) I3 {- ~! e4 J" Q9 O
  43. RewriteRule ^friendlink-action-apply\/$ public/about.php?part=friendlink&action=apply
    * ~+ ]- C+ g3 c1 j
  44. RewriteRule ^guestbook-page-([0-9]+)\/$ public/about.php?part=guestbook&page=$1
    # C  K! o5 X4 x. E
  45. RewriteRule ^guestbook-action-write\/$ public/about.php?part=guestbook&action=write
    ' L5 R! @# |4 I# a  U
  46. RewriteRule ^space-([a-z,0-9\-]+)\/$ public/space.php?user=$1
复制代码

+ ^. d1 S7 m- `1 h! u
+ }; g% Q  o* s, x- [& m, G( o
$ ~6 B' z1 m5 c把上面代码保存为   .htaccess 放入空间根目录,就可实现( u" q/ K8 m0 A9 l

' }; P. Q* z' P4 D. `7 u7 W演求http://www.wfclass.cn+ ?4 b; M% l/ ]6 G2 f4 b# r
+ e, L; _' V- \8 v
另本站pr=2 求同PR友情链接,请到本站申请 ,欢迎合作!
2#
发表于 2009-10-29 08:15:22 | 只看该作者
挺不错啊 、支持一下 了
您需要登录后才可以回帖 登录 | 注册蚂蚁CMS论坛

本版积分规则

QQ| Archiver| 手机版| 蚂蚁CMS论坛  


© MayiCMS·蚂蚁分类信息网站系统 - 国内最成熟的php分类信息网站系统,地方便民信息网站/微信小程序解决方案

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