|
- 6 Q7 [ p! P6 e
- deny from all9 ^ c) ~. k7 N1 P6 H
! Q: r8 l5 s5 ~3 U! o% e- Options -Indexes& b+ g) y! s3 |9 `" ?6 [
- ErrorDocument 400 http://www.wfclass.cn/404.html. L2 U8 o, ?0 o
- ErrorDocument 401 http://www.wfclass.cn/404.html
3 q2 P5 ^# e1 x/ \# r - ErrorDocument 402 http://www.wfclass.cn/404.html+ q% e+ o5 ~9 i3 E" A8 J" I
- ErrorDocument 403 http://www.wfclass.cn/404.html7 v# Q7 |, E& B
- ErrorDocument 404 http://www.wfclass.cn/404.html
; L1 \ c+ H! |7 Z" F - ErrorDocument 405 http://www.wfclass.cn/404.html
. f4 U3 w, {, _" e - ErrorDocument 406 http://www.wfclass.cn/404.html/ N3 f$ h( [4 Y8 V
- ErrorDocument 407 http://www.wfclass.cn/404.html
, |4 v2 a* `9 K6 C: N+ t4 v. w - ErrorDocument 408 http://www.wfclass.cn/404.html8 [. L! S+ R7 T0 k
- ErrorDocument 409 http://www.wfclass.cn/404.html
9 V8 T* d* g2 B$ a' I6 a; x - ErrorDocument 410 http://www.wfclass.cn/404.html
% l: N: b; M: c/ q# z - ErrorDocument 411 http://www.wfclass.cn/404.html
7 g! v; Z% }/ V, P - ErrorDocument 412 http://www.wfclass.cn/404.html1 P+ R' t0 T& }" `9 @2 o) o$ T' X) s
- ErrorDocument 413 http://www.wfclass.cn/404.html# I$ h2 w7 a& A# f0 y4 m; l
- ErrorDocument 414 http://www.wfclass.cn/404.html
/ \, o: `8 ?5 W# | - ErrorDocument 500 http://www.wfclass.cn/404.html
2 D4 s' j% V& ^+ ~* O - ErrorDocument 501 http://www.wfclass.cn/404.html
! G4 _: X8 }& _" z - ErrorDocument 502 http://www.wfclass.cn/404.html
! s3 ?% l' ] m - ErrorDocument 503 http://www.wfclass.cn/404.html- i8 [& B, T# R' w, I+ g
- ErrorDocument 504 http://www.wfclass.cn/404.html' K2 n. ~2 B* D1 B$ T' P6 C
- ErrorDocument 505 http://www.wfclass.cn/404.html
^0 A4 l1 K: h% j - order deny,allow' j) o2 q) l8 C0 X% S
- 9 I( B0 K; N2 y7 v: O* ^
- & @& u; i" J. s# y. l
- ! I5 ?3 R, W9 n: @
- RewriteEngine On" w# t5 w" H6 X) J" j" i% P
- RewriteBase /
, b2 J# h: Z7 ]2 K - RewriteRule ^info-id-([0-9]+)\/$ public/info.php?id=$1
( I7 {8 Y) p; U. W - RewriteRule ^info-page-([0-9]+)\/$ public/info.php?page=$1" l/ ?- W* @+ H2 O
- RewriteRule ^info-catid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&page=$2; P1 N" B* d3 x# G( |
- RewriteRule ^info-catid-([0-9]+)-areaid-([0-9]+)-page-([0-9]+)\/$ public/info.php?catid=$1&areaid=$2&page=$3* A& o) f- A! \
- RewriteRule ^aboutus\/$ public/about.php?part=aboutus9 L7 j2 b% k7 f9 R# W7 o. A
- RewriteRule ^aboutus-id-([0-9]+)\/$ public/about.php?part=aboutus&id=$16 e0 v9 X" d' c5 O' h" d
- RewriteRule ^announce-page-([0-9]+)\/$ public/about.php?part=announce&page=$1) X& X' K. R4 ~6 A% @/ p, x, o
- RewriteRule ^announce-id-([0-9]+)\/$ public/about.php?part=announce&id=$1$ v( a/ C( p9 q2 f( w' h
- RewriteRule ^faq\/$ public/about.php?part=faq
7 r( e9 s/ B2 S) r u" ` - RewriteRule ^faq-id-([0-9]+)\/$ public/about.php?part=faq&id=$1- `5 m3 z* O3 u5 n/ x
- RewriteRule ^friendlink\/$ public/about.php?part=friendlink- j F) C4 {/ O: z, q, d) M+ X
- RewriteRule ^friendlink-action-apply\/$ public/about.php?part=friendlink&action=apply: f* K: s" f4 @
- RewriteRule ^guestbook-page-([0-9]+)\/$ public/about.php?part=guestbook&page=$1
- H, p6 D- Y. j+ T: w% }! \ - RewriteRule ^guestbook-action-write\/$ public/about.php?part=guestbook&action=write; D8 |6 o% G6 X7 o9 |
- 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友情链接,请到本站申请 ,欢迎合作! |
|