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

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

[复制链接]
跳转到指定楼层
1#
发表于 2009-10-29 08:02:39 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
  1. & c+ D+ H8 z2 k- l/ M! _9 L/ ~% B
  2. deny from all6 x& y' i& M$ c7 H% `
  3. * C$ w9 \( b8 Q1 a
  4. Options -Indexes
    2 F- I5 |$ Y+ y3 o; v) k
  5. ErrorDocument 400 http://www.wfclass.cn/404.html
    * k) X. `: F( W
  6. ErrorDocument 401 http://www.wfclass.cn/404.html/ o9 N0 f) ^8 M6 p
  7. ErrorDocument 402 http://www.wfclass.cn/404.html
    ' u* s5 I7 R; s
  8. ErrorDocument 403 http://www.wfclass.cn/404.html
    / ~3 L& R, q1 m/ y7 t& N
  9. ErrorDocument 404 http://www.wfclass.cn/404.html8 c3 B1 R3 ^5 B0 {; A. @
  10. ErrorDocument 405 http://www.wfclass.cn/404.html
    * y) w5 ~2 [- _: h- N
  11. ErrorDocument 406 http://www.wfclass.cn/404.html9 O7 T  d+ Q9 `; P  d* V1 G% A! c
  12. ErrorDocument 407 http://www.wfclass.cn/404.html
    " a" j, o8 k2 D. h4 E
  13. ErrorDocument 408 http://www.wfclass.cn/404.html! Z  n/ `, S$ l; A
  14. ErrorDocument 409 http://www.wfclass.cn/404.html
      v. g9 d( ]+ U' I: P$ u' w
  15. ErrorDocument 410 http://www.wfclass.cn/404.html
    4 E; p$ R/ x' i8 h- q. ?6 n
  16. ErrorDocument 411 http://www.wfclass.cn/404.html
    0 ^1 Z1 W" I+ W
  17. ErrorDocument 412 http://www.wfclass.cn/404.html
    + ?, d0 s% r$ }
  18. ErrorDocument 413 http://www.wfclass.cn/404.html
    # a1 n! a0 g$ C. \
  19. ErrorDocument 414 http://www.wfclass.cn/404.html3 n( R+ n& B' o- ^
  20. ErrorDocument 500 http://www.wfclass.cn/404.html/ j* J) L& t5 v% w+ `0 s
  21. ErrorDocument 501 http://www.wfclass.cn/404.html
    ) X+ y) Q: y8 D1 m; c
  22. ErrorDocument 502 http://www.wfclass.cn/404.html
    , ~9 \8 F# X9 f; _
  23. ErrorDocument 503 http://www.wfclass.cn/404.html7 ~; Y; p9 N$ [( m
  24. ErrorDocument 504 http://www.wfclass.cn/404.html: |" l# `# b; B) `+ w! h* d
  25. ErrorDocument 505 http://www.wfclass.cn/404.html
    , a2 m! ?" n7 w5 _
  26. order deny,allow: \% {; |- ?4 ~: Z7 I' ^1 l/ n! {

  27. ! o6 X. [5 j* h

  28. 0 r4 K, F- z( y6 m5 u. C) G
  29. 9 |* O& n# @9 A9 u$ N6 [
  30. RewriteEngine On) i, h1 I" b) u0 Z5 A" r7 X6 g$ i8 |
  31. RewriteBase /4 {" q0 Q) Q6 n" c0 ]# `
  32. RewriteRule ^info-id-([0-9]+)\/$ public/info.php?id=$15 M0 a5 ^( j% k6 D* u$ g
  33. RewriteRule ^info-page-([0-9]+)\/$ public/info.php?page=$16 _; m: Z7 A8 N6 S2 D# n% x
  34. RewriteRule ^info-catid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&page=$2
    , `. d' O; i& [( C- S/ ~
  35. RewriteRule ^info-catid-([0-9]+)-areaid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&areaid=$2&page=$3& F& O# N, R7 r5 a5 s& h, f
  36. RewriteRule ^aboutus\/$ public/about.php?part=aboutus
    8 q+ v+ G* H( N4 I) i
  37. RewriteRule ^aboutus-id-([0-9]+)\/$ public/about.php?part=aboutus&id=$1
    - ^4 h9 ^/ T/ E5 E# A8 E& K" I
  38. RewriteRule ^announce-page-([0-9]+)\/$ public/about.php?part=announce&page=$10 u  I9 n+ k" [" k8 D' m& k2 y
  39. RewriteRule ^announce-id-([0-9]+)\/$ public/about.php?part=announce&id=$1
    , k: N) r( b" l% E; V
  40. RewriteRule ^faq\/$ public/about.php?part=faq; a, ?7 z6 z) M: m
  41. RewriteRule ^faq-id-([0-9]+)\/$ public/about.php?part=faq&id=$1
    # l# y$ C( @4 w$ U3 u7 e' b
  42. RewriteRule ^friendlink\/$ public/about.php?part=friendlink
    + ~/ N7 ?5 D6 ?  E, M2 f0 {! t
  43. RewriteRule ^friendlink-action-apply\/$ public/about.php?part=friendlink&action=apply
      d$ q$ v0 k; l3 ~& L- S+ |
  44. RewriteRule ^guestbook-page-([0-9]+)\/$ public/about.php?part=guestbook&page=$1
    5 }; x0 ]) i) J3 D- E% _
  45. RewriteRule ^guestbook-action-write\/$ public/about.php?part=guestbook&action=write
    ! x; C. {" I5 F" @1 O
  46. RewriteRule ^space-([a-z,0-9\-]+)\/$ public/space.php?user=$1
复制代码

; a2 i% V+ g8 c8 i- C- P
% S% N& {1 m4 c6 d. D
6 q, H& d8 O8 `7 c  B把上面代码保存为   .htaccess 放入空间根目录,就可实现+ z- H- @9 j  {' h. H  Q
6 y+ Z$ T* j7 w; Q
演求http://www.wfclass.cn9 J8 S) J4 r* S7 l1 x) S$ G8 U6 a8 n

5 Q3 T" f6 n+ C" h6 z2 a, j另本站pr=2 求同PR友情链接,请到本站申请 ,欢迎合作!
2#
发表于 2009-10-29 08:15:22 | 只看该作者
挺不错啊 、支持一下 了
您需要登录后才可以回帖 登录 | 注册蚂蚁CMS论坛

本版积分规则

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


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

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