|
- ' U" _/ F5 B% i' i4 X; H# U
- deny from all& b, x) \% F' [5 ]
: A8 L6 Y5 k1 r5 V K- Options -Indexes+ T$ ^& [2 Z3 E/ H" f/ G
- ErrorDocument 400 http://www.wfclass.cn/404.html
, A. i1 ~ A' p5 {" Q$ P7 t - ErrorDocument 401 http://www.wfclass.cn/404.html
% \# y/ ?2 }: U' O - ErrorDocument 402 http://www.wfclass.cn/404.html* G- t7 A3 `8 {% ^7 ^( d
- ErrorDocument 403 http://www.wfclass.cn/404.html
0 m% s# A1 g2 G# V - ErrorDocument 404 http://www.wfclass.cn/404.html1 ]+ c8 M4 f4 a5 T) L |/ p
- ErrorDocument 405 http://www.wfclass.cn/404.html4 @; E ^7 @; |& Q* p7 t# l$ }9 Z
- ErrorDocument 406 http://www.wfclass.cn/404.html+ R1 k3 V! E5 x B1 z2 `: O
- ErrorDocument 407 http://www.wfclass.cn/404.html
, k) y: p( j0 o7 y - ErrorDocument 408 http://www.wfclass.cn/404.html
7 [4 v1 Z/ p' {$ K' k - ErrorDocument 409 http://www.wfclass.cn/404.html
/ c+ w7 F1 u k' y" @4 h5 M - ErrorDocument 410 http://www.wfclass.cn/404.html0 _6 j7 d/ t9 f6 C5 N" b9 D' f
- ErrorDocument 411 http://www.wfclass.cn/404.html
2 v8 h7 Z; Y! ]: _1 U' h7 h - ErrorDocument 412 http://www.wfclass.cn/404.html- i4 i. x6 G8 {( s$ H! ?; \% ]
- ErrorDocument 413 http://www.wfclass.cn/404.html F9 I5 {& ^5 m
- ErrorDocument 414 http://www.wfclass.cn/404.html" E% h* u% L% I1 p0 a
- ErrorDocument 500 http://www.wfclass.cn/404.html
2 k+ W/ ~& `9 m3 u. u; N5 u - ErrorDocument 501 http://www.wfclass.cn/404.html
9 D* M# q0 o0 p: u6 ?3 M6 }! @( V - ErrorDocument 502 http://www.wfclass.cn/404.html
" q; n& @7 y1 F3 ]$ f4 R7 I - ErrorDocument 503 http://www.wfclass.cn/404.html# _4 ^ Z# k* ?) P1 z
- ErrorDocument 504 http://www.wfclass.cn/404.html. M: k8 K& z' {2 x5 [+ x
- ErrorDocument 505 http://www.wfclass.cn/404.html; r/ M* R6 ~9 W$ J/ X0 N
- order deny,allow; w! d% ]" T5 I
- 0 }& ]. X' I7 j& C9 r9 T5 `, M
- ; o6 P; B- X7 Y+ C7 E% o5 _
- : f. N5 f" ?0 h; e- [5 V7 b
- RewriteEngine On6 ^& R' z/ Z6 u; W3 W
- RewriteBase /
) C& F& d' w# l; e. `6 s# X5 s, m - RewriteRule ^info-id-([0-9]+)\/$ public/info.php?id=$1
& A) e' S. v7 W5 `7 {, n, s% e - RewriteRule ^info-page-([0-9]+)\/$ public/info.php?page=$1) u" T/ n8 v9 ~# R4 I3 q( \: v$ v2 Q
- RewriteRule ^info-catid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&page=$2
9 O/ Z' ^2 a1 T+ q4 | - 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
- RewriteRule ^aboutus\/$ public/about.php?part=aboutus/ I+ w7 E% v7 G" C2 o
- RewriteRule ^aboutus-id-([0-9]+)\/$ public/about.php?part=aboutus&id=$1# w1 f4 U4 i2 P0 R
- RewriteRule ^announce-page-([0-9]+)\/$ public/about.php?part=announce&page=$1
6 g; a. [/ M0 ?2 z - RewriteRule ^announce-id-([0-9]+)\/$ public/about.php?part=announce&id=$1
" B1 H1 q; x1 Y( G* y- N - RewriteRule ^faq\/$ public/about.php?part=faq
2 y2 I2 |, y! H k - RewriteRule ^faq-id-([0-9]+)\/$ public/about.php?part=faq&id=$18 N8 B/ e. j! `) y
- RewriteRule ^friendlink\/$ public/about.php?part=friendlink' X8 A# h- [+ ~3 v: x- F$ Z3 i" n- M
- RewriteRule ^friendlink-action-apply\/$ public/about.php?part=friendlink&action=apply9 }1 @1 U# B! ^( l( S+ c! e
- RewriteRule ^guestbook-page-([0-9]+)\/$ public/about.php?part=guestbook&page=$1
# ?1 o' {; Y- o6 x+ H) L+ l/ F t* y% ` - RewriteRule ^guestbook-action-write\/$ public/about.php?part=guestbook&action=write9 \5 d) I5 j! H- Z+ s) ~$ W
- 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友情链接,请到本站申请 ,欢迎合作! |
|