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

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

[复制链接]
跳转到指定楼层
1#
发表于 2009-10-29 08:02:39 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
  1. / H7 m# i9 ]  n$ f) F: \" B
  2. deny from all
    0 A/ G7 a9 D. _1 ]& t5 m1 A; t
  3. 6 |- A4 {; ], \# Y, [
  4. Options -Indexes- p  T$ ?" L3 x" N
  5. ErrorDocument 400 http://www.wfclass.cn/404.html/ \2 Z+ s  ~0 f9 b3 A0 t; X% e
  6. ErrorDocument 401 http://www.wfclass.cn/404.html6 n" S# k& m/ {1 _0 ?$ R' O
  7. ErrorDocument 402 http://www.wfclass.cn/404.html4 Z2 d) d$ J6 G, p. }: n% }* D$ g
  8. ErrorDocument 403 http://www.wfclass.cn/404.html
    ) M" P- Y  d% n7 ~
  9. ErrorDocument 404 http://www.wfclass.cn/404.html
    0 G' ~" p# O8 Z& B3 s
  10. ErrorDocument 405 http://www.wfclass.cn/404.html6 `) G  y& V8 V& j
  11. ErrorDocument 406 http://www.wfclass.cn/404.html( B& T4 j2 W4 T. u+ Z: r+ m
  12. ErrorDocument 407 http://www.wfclass.cn/404.html
    " g( X2 t* o+ E
  13. ErrorDocument 408 http://www.wfclass.cn/404.html, H, C8 [' r, y* N$ M% d
  14. ErrorDocument 409 http://www.wfclass.cn/404.html
    - @. i" B  c1 A8 |" L7 c/ J
  15. ErrorDocument 410 http://www.wfclass.cn/404.html# a. a% V. M0 F1 H* U# u6 }
  16. ErrorDocument 411 http://www.wfclass.cn/404.html
    ! z6 H6 D% I% n8 W# d/ s1 l! j
  17. ErrorDocument 412 http://www.wfclass.cn/404.html. A, ?) R  H1 b0 P
  18. ErrorDocument 413 http://www.wfclass.cn/404.html6 M- _6 r, n" r. d+ t+ q
  19. ErrorDocument 414 http://www.wfclass.cn/404.html
    ! q1 E: X; X: W' k+ k" p! ^; X" N
  20. ErrorDocument 500 http://www.wfclass.cn/404.html
    0 H( [# H4 x/ ^. O
  21. ErrorDocument 501 http://www.wfclass.cn/404.html/ |/ h' Q4 |5 k
  22. ErrorDocument 502 http://www.wfclass.cn/404.html1 q8 Z# _% |& e& g/ D( E
  23. ErrorDocument 503 http://www.wfclass.cn/404.html
    * P) {1 Z+ K: w/ O% p7 v3 e
  24. ErrorDocument 504 http://www.wfclass.cn/404.html& f3 J& Z* W4 z6 h. T
  25. ErrorDocument 505 http://www.wfclass.cn/404.html
    ! P' @' L  o1 c/ K6 s( s; |
  26. order deny,allow
    5 m; u5 j1 M  }$ R- f; I; D$ K
  27. ' i# U" }( ~% i2 A+ l

  28. ! `6 O1 M9 ]% d: H
  29. # K3 W7 F5 w" q! V' c( u
  30. RewriteEngine On
    ; n! L) [: E* C2 ]! f) t- b
  31. RewriteBase /
    - r! r- D, i1 N
  32. RewriteRule ^info-id-([0-9]+)\/$ public/info.php?id=$18 _6 N2 J. E0 Q5 L7 \
  33. RewriteRule ^info-page-([0-9]+)\/$ public/info.php?page=$15 g5 W+ t8 x% G4 H; B, G
  34. RewriteRule ^info-catid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&page=$26 I0 m3 o% {6 S5 g: T5 W& W8 K
  35. RewriteRule ^info-catid-([0-9]+)-areaid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&areaid=$2&page=$3
    ! C, _* b0 N% W
  36. RewriteRule ^aboutus\/$ public/about.php?part=aboutus
    + n9 D$ v% C0 ~+ G4 o, D
  37. RewriteRule ^aboutus-id-([0-9]+)\/$ public/about.php?part=aboutus&id=$14 g5 F8 y" c# y5 J, u; L
  38. RewriteRule ^announce-page-([0-9]+)\/$ public/about.php?part=announce&page=$1. }9 _; c) k/ r; a$ U
  39. RewriteRule ^announce-id-([0-9]+)\/$ public/about.php?part=announce&id=$1
    . j# K* \4 _) q/ m/ J" s' Z
  40. RewriteRule ^faq\/$ public/about.php?part=faq
    " s$ z+ S1 V( x5 R1 {4 O
  41. RewriteRule ^faq-id-([0-9]+)\/$ public/about.php?part=faq&id=$1
      H* r$ z5 {& i! _
  42. RewriteRule ^friendlink\/$ public/about.php?part=friendlink
    # a7 Z4 [5 v7 D
  43. RewriteRule ^friendlink-action-apply\/$ public/about.php?part=friendlink&action=apply, f# S. W; Y8 w. Q! c" d( i4 x
  44. RewriteRule ^guestbook-page-([0-9]+)\/$ public/about.php?part=guestbook&page=$1
    6 h' L/ o  X2 p2 O; B7 E
  45. RewriteRule ^guestbook-action-write\/$ public/about.php?part=guestbook&action=write
    , f8 G* v6 @/ |/ z( U# v
  46. RewriteRule ^space-([a-z,0-9\-]+)\/$ public/space.php?user=$1
复制代码
9 w% u+ q3 Y% G) Z
# L2 K5 [6 \, E8 P+ K  Q6 F( s

; ?7 C7 j8 @( W把上面代码保存为   .htaccess 放入空间根目录,就可实现
/ i9 X0 f2 Z5 _5 m! G/ s  r- h% l% `# {; v
演求http://www.wfclass.cn
' a5 g) e; F) c; ?
% _6 J% X+ l) f' L% l6 d  k另本站pr=2 求同PR友情链接,请到本站申请 ,欢迎合作!
2#
发表于 2009-10-29 08:15:22 | 只看该作者
挺不错啊 、支持一下 了
您需要登录后才可以回帖 登录 | 注册蚂蚁CMS论坛

本版积分规则

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


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

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