|
& n" d9 P- L, D" y6 Q7 m& D- Q5 B- deny from all
$ C, l- h/ o) w, q5 n$ M% x
) p+ c( r& }1 ~" c, ^2 g- Options -Indexes7 P2 Q$ b0 Y9 o- E+ k: A
- ErrorDocument 400 http://www.wfclass.cn/404.html
# |1 t- {- t# m* F - ErrorDocument 401 http://www.wfclass.cn/404.html
/ Z& x, L3 e0 H2 ? - ErrorDocument 402 http://www.wfclass.cn/404.html
( o. N4 ?7 x2 _) k9 v: d7 n - ErrorDocument 403 http://www.wfclass.cn/404.html
( e, Q/ A: W( ^ `# `8 [ - ErrorDocument 404 http://www.wfclass.cn/404.html! G) Q# G9 E) K, O
- ErrorDocument 405 http://www.wfclass.cn/404.html0 B4 n# S5 y; ?2 j* q
- ErrorDocument 406 http://www.wfclass.cn/404.html
1 }9 f" ^5 W" G2 ~& r6 F# `' L - ErrorDocument 407 http://www.wfclass.cn/404.html
3 `, p: T% x3 x5 F ^' g* K! O - ErrorDocument 408 http://www.wfclass.cn/404.html
3 J5 U$ h b1 i0 M - ErrorDocument 409 http://www.wfclass.cn/404.html0 f, B3 [# p# P( S
- ErrorDocument 410 http://www.wfclass.cn/404.html# W1 V* R/ j; h2 W0 c2 s' m
- ErrorDocument 411 http://www.wfclass.cn/404.html' c6 B% X+ v/ X; j2 G( g7 m
- ErrorDocument 412 http://www.wfclass.cn/404.html7 T8 s1 k" M* S8 g; K8 h, Y0 U
- ErrorDocument 413 http://www.wfclass.cn/404.html0 R# V! K2 E9 a) T: A
- ErrorDocument 414 http://www.wfclass.cn/404.html8 [! g; z3 v* D
- ErrorDocument 500 http://www.wfclass.cn/404.html
+ t* i- v, e- T8 N9 g$ g - ErrorDocument 501 http://www.wfclass.cn/404.html- N" M4 Z1 u4 t) d) r4 o" E8 E
- ErrorDocument 502 http://www.wfclass.cn/404.html c+ V, g8 \8 }% V+ S
- ErrorDocument 503 http://www.wfclass.cn/404.html
$ j3 V' h# l |- W" t: X - ErrorDocument 504 http://www.wfclass.cn/404.html
7 Y4 g# W5 ?6 _$ |% Z - ErrorDocument 505 http://www.wfclass.cn/404.html, O; ^' t) l) [/ c8 F4 |
- order deny,allow
' [. g# ]( _" H% L8 p# g) h - 9 |& R$ ~7 a+ ~* p$ d1 z- q
- - D$ z/ k4 K' ^* U4 T0 `/ D" q) U
- E/ T+ }0 B% p' Z, s% \
- RewriteEngine On
1 L3 C. n0 g- x: [( P, x - RewriteBase /& E5 }6 t" I; Q0 U" {& w
- RewriteRule ^info-id-([0-9]+)\/$ public/info.php?id=$1
, S5 P# L8 I0 l3 N3 \& ~. \ - RewriteRule ^info-page-([0-9]+)\/$ public/info.php?page=$1
* k# p1 q. v6 f - RewriteRule ^info-catid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&page=$2
( @ S. H. t& T% [; T - RewriteRule ^info-catid-([0-9]+)-areaid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&areaid=$2&page=$3
, d( P9 o5 D7 H' g - RewriteRule ^aboutus\/$ public/about.php?part=aboutus
: M! W6 ], L& C - RewriteRule ^aboutus-id-([0-9]+)\/$ public/about.php?part=aboutus&id=$1
' F! X- M1 i( Q+ n - RewriteRule ^announce-page-([0-9]+)\/$ public/about.php?part=announce&page=$1
- m8 m8 u- s# U r: Y - RewriteRule ^announce-id-([0-9]+)\/$ public/about.php?part=announce&id=$1/ h! R* b/ J# a- P, @* u
- RewriteRule ^faq\/$ public/about.php?part=faq4 e W# t) U7 m9 T% {: I
- RewriteRule ^faq-id-([0-9]+)\/$ public/about.php?part=faq&id=$1
$ O% Q- `# _" ^, q9 L! _9 m0 c3 m - RewriteRule ^friendlink\/$ public/about.php?part=friendlink9 Y7 O( i$ R _3 l+ @
- RewriteRule ^friendlink-action-apply\/$ public/about.php?part=friendlink&action=apply
7 C, c# v* l4 \ - RewriteRule ^guestbook-page-([0-9]+)\/$ public/about.php?part=guestbook&page=$1
# t* ` s5 @( w0 A - RewriteRule ^guestbook-action-write\/$ public/about.php?part=guestbook&action=write
2 h" i2 g I; R7 w! ]. G. K. z - RewriteRule ^space-([a-z,0-9\-]+)\/$ public/space.php?user=$1
复制代码 ( G% w* z Q7 N/ I( `- M" P8 K
2 a- z, z7 x- {& W( ^
8 H3 r- O; t( C- V把上面代码保存为 .htaccess 放入空间根目录,就可实现
) c/ ~' K h8 G: A; H2 k, i- R
7 H6 |. Q$ C% U$ b. ?- h演求http://www.wfclass.cn
9 M: X$ _1 r! K! L1 P; [3 |/ [' z
6 o( ~+ r! c; p' S5 E1 G" j另本站pr=2 求同PR友情链接,请到本站申请 ,欢迎合作! |
|