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

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

[复制链接]
跳转到指定楼层
1#
发表于 2009-10-29 08:02:39 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
  1. 6 Q7 [  p! P6 e
  2. deny from all9 ^  c) ~. k7 N1 P6 H

  3. ! Q: r8 l5 s5 ~3 U! o% e
  4. Options -Indexes& b+ g) y! s3 |9 `" ?6 [
  5. ErrorDocument 400 http://www.wfclass.cn/404.html. L2 U8 o, ?0 o
  6. ErrorDocument 401 http://www.wfclass.cn/404.html
    3 q2 P5 ^# e1 x/ \# r
  7. ErrorDocument 402 http://www.wfclass.cn/404.html+ q% e+ o5 ~9 i3 E" A8 J" I
  8. ErrorDocument 403 http://www.wfclass.cn/404.html7 v# Q7 |, E& B
  9. ErrorDocument 404 http://www.wfclass.cn/404.html
    ; L1 \  c+ H! |7 Z" F
  10. ErrorDocument 405 http://www.wfclass.cn/404.html
    . f4 U3 w, {, _" e
  11. ErrorDocument 406 http://www.wfclass.cn/404.html/ N3 f$ h( [4 Y8 V
  12. ErrorDocument 407 http://www.wfclass.cn/404.html
    , |4 v2 a* `9 K6 C: N+ t4 v. w
  13. ErrorDocument 408 http://www.wfclass.cn/404.html8 [. L! S+ R7 T0 k
  14. ErrorDocument 409 http://www.wfclass.cn/404.html
    9 V8 T* d* g2 B$ a' I6 a; x
  15. ErrorDocument 410 http://www.wfclass.cn/404.html
    % l: N: b; M: c/ q# z
  16. ErrorDocument 411 http://www.wfclass.cn/404.html
    7 g! v; Z% }/ V, P
  17. ErrorDocument 412 http://www.wfclass.cn/404.html1 P+ R' t0 T& }" `9 @2 o) o$ T' X) s
  18. ErrorDocument 413 http://www.wfclass.cn/404.html# I$ h2 w7 a& A# f0 y4 m; l
  19. ErrorDocument 414 http://www.wfclass.cn/404.html
    / \, o: `8 ?5 W# |
  20. ErrorDocument 500 http://www.wfclass.cn/404.html
    2 D4 s' j% V& ^+ ~* O
  21. ErrorDocument 501 http://www.wfclass.cn/404.html
    ! G4 _: X8 }& _" z
  22. ErrorDocument 502 http://www.wfclass.cn/404.html
    ! s3 ?% l' ]  m
  23. ErrorDocument 503 http://www.wfclass.cn/404.html- i8 [& B, T# R' w, I+ g
  24. ErrorDocument 504 http://www.wfclass.cn/404.html' K2 n. ~2 B* D1 B$ T' P6 C
  25. ErrorDocument 505 http://www.wfclass.cn/404.html
      ^0 A4 l1 K: h% j
  26. order deny,allow' j) o2 q) l8 C0 X% S
  27. 9 I( B0 K; N2 y7 v: O* ^
  28. & @& u; i" J. s# y. l
  29. ! I5 ?3 R, W9 n: @
  30. RewriteEngine On" w# t5 w" H6 X) J" j" i% P
  31. RewriteBase /
    , b2 J# h: Z7 ]2 K
  32. RewriteRule ^info-id-([0-9]+)\/$ public/info.php?id=$1
    ( I7 {8 Y) p; U. W
  33. RewriteRule ^info-page-([0-9]+)\/$ public/info.php?page=$1" l/ ?- W* @+ H2 O
  34. RewriteRule ^info-catid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&page=$2; P1 N" B* d3 x# G( |
  35. RewriteRule ^info-catid-([0-9]+)-areaid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&areaid=$2&page=$3* A& o) f- A! \
  36. RewriteRule ^aboutus\/$ public/about.php?part=aboutus9 L7 j2 b% k7 f9 R# W7 o. A
  37. RewriteRule ^aboutus-id-([0-9]+)\/$ public/about.php?part=aboutus&id=$16 e0 v9 X" d' c5 O' h" d
  38. RewriteRule ^announce-page-([0-9]+)\/$ public/about.php?part=announce&page=$1) X& X' K. R4 ~6 A% @/ p, x, o
  39. RewriteRule ^announce-id-([0-9]+)\/$ public/about.php?part=announce&id=$1$ v( a/ C( p9 q2 f( w' h
  40. RewriteRule ^faq\/$ public/about.php?part=faq
    7 r( e9 s/ B2 S) r  u" `
  41. RewriteRule ^faq-id-([0-9]+)\/$ public/about.php?part=faq&id=$1- `5 m3 z* O3 u5 n/ x
  42. RewriteRule ^friendlink\/$ public/about.php?part=friendlink- j  F) C4 {/ O: z, q, d) M+ X
  43. RewriteRule ^friendlink-action-apply\/$ public/about.php?part=friendlink&action=apply: f* K: s" f4 @
  44. RewriteRule ^guestbook-page-([0-9]+)\/$ public/about.php?part=guestbook&page=$1
    - H, p6 D- Y. j+ T: w% }! \
  45. RewriteRule ^guestbook-action-write\/$ public/about.php?part=guestbook&action=write; D8 |6 o% G6 X7 o9 |
  46. RewriteRule ^space-([a-z,0-9\-]+)\/$ public/space.php?user=$1
复制代码

/ T7 b/ i; z4 f" k, J  s' _$ q. @
- t5 Q; h8 I0 W* I
. K$ t) w+ y9 P4 w5 q# `; h' \把上面代码保存为   .htaccess 放入空间根目录,就可实现5 o3 e% n! x" y3 |& L
% }: r' r3 y  X8 ?/ s! s" J" E
演求http://www.wfclass.cn, `) o9 o3 ^8 S9 |, t2 B- D

. \( r, t+ s8 _7 ?5 ^8 B9 X另本站pr=2 求同PR友情链接,请到本站申请 ,欢迎合作!
2#
发表于 2009-10-29 08:15:22 | 只看该作者
挺不错啊 、支持一下 了
您需要登录后才可以回帖 登录 | 注册蚂蚁CMS论坛

本版积分规则

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


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

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