|
- ( D$ }7 J1 G, K3 P
- deny from all
8 o" N; _$ Z) Q/ D; n$ o- M; \ - $ V! q/ A0 k) Z0 z) p
- Options -Indexes7 ]: G9 Z2 f; n9 [* p6 U6 _. s
- ErrorDocument 400 http://www.wfclass.cn/404.html
' V# v0 @& d3 K+ W" @( M9 g - ErrorDocument 401 http://www.wfclass.cn/404.html
: A" I. p+ T' H8 ]; {% b% w( @. N - ErrorDocument 402 http://www.wfclass.cn/404.html9 F5 ?& u. f: e5 q) w; T
- ErrorDocument 403 http://www.wfclass.cn/404.html$ t/ o. Q0 L4 a D8 K9 q3 ^
- ErrorDocument 404 http://www.wfclass.cn/404.html
- {& k. _8 W: E! `6 v; T: x# n0 g - ErrorDocument 405 http://www.wfclass.cn/404.html
3 {4 C. p" j1 i7 g6 g+ T: t5 g - ErrorDocument 406 http://www.wfclass.cn/404.html
3 S% ]: K' g+ h6 s" |3 g - ErrorDocument 407 http://www.wfclass.cn/404.html
& q( m7 Q2 o# V( e; ^9 P - ErrorDocument 408 http://www.wfclass.cn/404.html
7 S% C5 ^5 L+ x- P" ~5 R5 q. P4 p( c - ErrorDocument 409 http://www.wfclass.cn/404.html/ e# R( P4 [* ], A5 `
- ErrorDocument 410 http://www.wfclass.cn/404.html
4 \( R5 X* V: E8 a& A# [ - ErrorDocument 411 http://www.wfclass.cn/404.html, c, M) g. o3 e# P
- ErrorDocument 412 http://www.wfclass.cn/404.html
+ r; U. L) ]5 Z- i6 {: j% Z- e - ErrorDocument 413 http://www.wfclass.cn/404.html8 H- q) {( D! G/ X2 s
- ErrorDocument 414 http://www.wfclass.cn/404.html
- h% {7 t" i; z9 P - ErrorDocument 500 http://www.wfclass.cn/404.html8 B+ a1 l) F, u( h7 I4 O
- ErrorDocument 501 http://www.wfclass.cn/404.html
9 D# x% C1 H$ @) h0 J; |5 I - ErrorDocument 502 http://www.wfclass.cn/404.html
# X4 D2 z+ ]6 E2 J - ErrorDocument 503 http://www.wfclass.cn/404.html
4 ]. v. h" B( D/ k& I J# o - ErrorDocument 504 http://www.wfclass.cn/404.html
: ]8 i% R& H6 r3 ~; T" { - ErrorDocument 505 http://www.wfclass.cn/404.html: K; n- V; F5 C- U( ]& D0 J
- order deny,allow- S5 \! e' M, |! f. k! g
! c* l6 j+ K7 {2 _- 2 ]' X5 E, C6 m Q
- ) e' }! E' p0 p8 w" a7 k
- RewriteEngine On
! ]' z( h0 D! p% V8 V! q! | - RewriteBase /
" \) N' M9 c1 b8 ]* H5 U9 l - RewriteRule ^info-id-([0-9]+)\/$ public/info.php?id=$1
& F: y* M' E9 L4 V; \ - RewriteRule ^info-page-([0-9]+)\/$ public/info.php?page=$1/ m4 b4 b5 p# p& I( I
- RewriteRule ^info-catid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&page=$2
6 q; P: j+ Y+ Y0 v - RewriteRule ^info-catid-([0-9]+)-areaid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&areaid=$2&page=$3+ n% b; j* H1 H. w; E$ B
- RewriteRule ^aboutus\/$ public/about.php?part=aboutus- @$ C) T0 x; V
- RewriteRule ^aboutus-id-([0-9]+)\/$ public/about.php?part=aboutus&id=$1, u: q1 r( t3 W- h4 L3 r
- RewriteRule ^announce-page-([0-9]+)\/$ public/about.php?part=announce&page=$1
4 s: E# m6 J. P: p+ F" f$ r - RewriteRule ^announce-id-([0-9]+)\/$ public/about.php?part=announce&id=$1- v0 ~! v: M9 x% l: U
- RewriteRule ^faq\/$ public/about.php?part=faq2 }' }7 p" i0 Z, C
- RewriteRule ^faq-id-([0-9]+)\/$ public/about.php?part=faq&id=$12 B3 a7 o& n2 b3 P: _8 A
- RewriteRule ^friendlink\/$ public/about.php?part=friendlink
$ t/ D& Z$ H% Z6 o' Y# \* ]6 @/ a# \ - RewriteRule ^friendlink-action-apply\/$ public/about.php?part=friendlink&action=apply
. L! s+ U5 }; A" b; @6 _# o - RewriteRule ^guestbook-page-([0-9]+)\/$ public/about.php?part=guestbook&page=$1
* J' B k6 B; e6 y% w0 I: f - RewriteRule ^guestbook-action-write\/$ public/about.php?part=guestbook&action=write0 U( b8 `5 c" K
- RewriteRule ^space-([a-z,0-9\-]+)\/$ public/space.php?user=$1
复制代码
5 l6 E8 r% d4 _9 W/ q5 a8 n- f
% U! H+ h* h, e- K4 m4 h$ P/ D+ Y* s% Z
把上面代码保存为 .htaccess 放入空间根目录,就可实现
8 |4 k1 n( S5 F' P8 [ j5 v9 ~) V7 |8 Z! q, r- V6 Q
演求http://www.wfclass.cn
' q ]2 [0 k9 l, ~/ O, ~9 Q* K# H6 {& i% H5 t `3 B7 n/ r1 i
另本站pr=2 求同PR友情链接,请到本站申请 ,欢迎合作! |
|