查看: 2175|回复: 1

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

[复制链接]
发表于 2009-10-29 08:02:39 | 显示全部楼层 |阅读模式
  1. ' U" _/ F5 B% i' i4 X; H# U
  2. deny from all& b, x) \% F' [5 ]

  3. : A8 L6 Y5 k1 r5 V  K
  4. Options -Indexes+ T$ ^& [2 Z3 E/ H" f/ G
  5. ErrorDocument 400 http://www.wfclass.cn/404.html
    , A. i1 ~  A' p5 {" Q$ P7 t
  6. ErrorDocument 401 http://www.wfclass.cn/404.html
    % \# y/ ?2 }: U' O
  7. ErrorDocument 402 http://www.wfclass.cn/404.html* G- t7 A3 `8 {% ^7 ^( d
  8. ErrorDocument 403 http://www.wfclass.cn/404.html
    0 m% s# A1 g2 G# V
  9. ErrorDocument 404 http://www.wfclass.cn/404.html1 ]+ c8 M4 f4 a5 T) L  |/ p
  10. ErrorDocument 405 http://www.wfclass.cn/404.html4 @; E  ^7 @; |& Q* p7 t# l$ }9 Z
  11. ErrorDocument 406 http://www.wfclass.cn/404.html+ R1 k3 V! E5 x  B1 z2 `: O
  12. ErrorDocument 407 http://www.wfclass.cn/404.html
    , k) y: p( j0 o7 y
  13. ErrorDocument 408 http://www.wfclass.cn/404.html
    7 [4 v1 Z/ p' {$ K' k
  14. ErrorDocument 409 http://www.wfclass.cn/404.html
    / c+ w7 F1 u  k' y" @4 h5 M
  15. ErrorDocument 410 http://www.wfclass.cn/404.html0 _6 j7 d/ t9 f6 C5 N" b9 D' f
  16. ErrorDocument 411 http://www.wfclass.cn/404.html
    2 v8 h7 Z; Y! ]: _1 U' h7 h
  17. ErrorDocument 412 http://www.wfclass.cn/404.html- i4 i. x6 G8 {( s$ H! ?; \% ]
  18. ErrorDocument 413 http://www.wfclass.cn/404.html  F9 I5 {& ^5 m
  19. ErrorDocument 414 http://www.wfclass.cn/404.html" E% h* u% L% I1 p0 a
  20. ErrorDocument 500 http://www.wfclass.cn/404.html
    2 k+ W/ ~& `9 m3 u. u; N5 u
  21. ErrorDocument 501 http://www.wfclass.cn/404.html
    9 D* M# q0 o0 p: u6 ?3 M6 }! @( V
  22. ErrorDocument 502 http://www.wfclass.cn/404.html
    " q; n& @7 y1 F3 ]$ f4 R7 I
  23. ErrorDocument 503 http://www.wfclass.cn/404.html# _4 ^  Z# k* ?) P1 z
  24. ErrorDocument 504 http://www.wfclass.cn/404.html. M: k8 K& z' {2 x5 [+ x
  25. ErrorDocument 505 http://www.wfclass.cn/404.html; r/ M* R6 ~9 W$ J/ X0 N
  26. order deny,allow; w! d% ]" T5 I
  27. 0 }& ]. X' I7 j& C9 r9 T5 `, M
  28. ; o6 P; B- X7 Y+ C7 E% o5 _
  29. : f. N5 f" ?0 h; e- [5 V7 b
  30. RewriteEngine On6 ^& R' z/ Z6 u; W3 W
  31. RewriteBase /
    ) C& F& d' w# l; e. `6 s# X5 s, m
  32. RewriteRule ^info-id-([0-9]+)\/$ public/info.php?id=$1
    & A) e' S. v7 W5 `7 {, n, s% e
  33. RewriteRule ^info-page-([0-9]+)\/$ public/info.php?page=$1) u" T/ n8 v9 ~# R4 I3 q( \: v$ v2 Q
  34. RewriteRule ^info-catid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&page=$2
    9 O/ Z' ^2 a1 T+ q4 |
  35. RewriteRule ^info-catid-([0-9]+)-areaid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&areaid=$2&page=$3! ^" v2 ?% k5 m& X% X1 I$ o1 ?# w
  36. RewriteRule ^aboutus\/$ public/about.php?part=aboutus/ I+ w7 E% v7 G" C2 o
  37. RewriteRule ^aboutus-id-([0-9]+)\/$ public/about.php?part=aboutus&id=$1# w1 f4 U4 i2 P0 R
  38. RewriteRule ^announce-page-([0-9]+)\/$ public/about.php?part=announce&page=$1
    6 g; a. [/ M0 ?2 z
  39. RewriteRule ^announce-id-([0-9]+)\/$ public/about.php?part=announce&id=$1
    " B1 H1 q; x1 Y( G* y- N
  40. RewriteRule ^faq\/$ public/about.php?part=faq
    2 y2 I2 |, y! H  k
  41. RewriteRule ^faq-id-([0-9]+)\/$ public/about.php?part=faq&id=$18 N8 B/ e. j! `) y
  42. RewriteRule ^friendlink\/$ public/about.php?part=friendlink' X8 A# h- [+ ~3 v: x- F$ Z3 i" n- M
  43. RewriteRule ^friendlink-action-apply\/$ public/about.php?part=friendlink&action=apply9 }1 @1 U# B! ^( l( S+ c! e
  44. RewriteRule ^guestbook-page-([0-9]+)\/$ public/about.php?part=guestbook&page=$1
    # ?1 o' {; Y- o6 x+ H) L+ l/ F  t* y% `
  45. RewriteRule ^guestbook-action-write\/$ public/about.php?part=guestbook&action=write9 \5 d) I5 j! H- Z+ s) ~$ W
  46. RewriteRule ^space-([a-z,0-9\-]+)\/$ public/space.php?user=$1
复制代码

! I# F# K/ J0 R/ l2 W( f5 v  d6 E. A  v9 q% d( h4 [$ d5 d; b1 b, r

/ }+ K' q7 A7 L3 M2 Q2 A! L8 V把上面代码保存为   .htaccess 放入空间根目录,就可实现6 ^7 [. L# p3 {' p7 p  D

: U0 s7 A# G& W6 Y演求http://www.wfclass.cn* [; `9 A8 X& m; [

; Y6 Z5 e! N% o3 @0 w1 u另本站pr=2 求同PR友情链接,请到本站申请 ,欢迎合作!
发表于 2009-10-29 08:15:22 | 显示全部楼层
挺不错啊 、支持一下 了
您需要登录后才可以回帖 登录 | 注册蚂蚁CMS论坛

本版积分规则

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


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

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