目前 apache上可用的 重寫規則是 求大牛 幫忙重寫下
# \6 U* M" c, {' ~' f! \7 w. Z; L3 Q+ s( t/ s" [" A
RewriteCond %{REQUEST_FILENAME} !-f
! K* ]8 r. f2 Q' rRewriteCond %{REQUEST_FILENAME} !-d
0 }: o' `, o8 b! b# ~- Z4 _RewriteRule ^reviews(.*)$ /ci/reviews$1 [L]
) C, h; {3 n- b. L4 b2 Y3 Z2 f. h S! L" ]' |5 u
RewriteCond $1 !^(index\.php|images|robots\.txt)
& J4 |0 c# t7 b$ ~. nRewriteRule ^ci/(.*)$ /ci/index.php/$1 [L]
: S6 I# J% }, O: X- X
7 {6 e8 @" I- ]+ }2 Q/ X' m! B; \/ W; }5 @- p6 c
, T0 e) {4 G; y( [0 }
RewriteCond %{REQUEST_FILENAME} !-f) c) G- ]! U3 W$ `; Z
RewriteCond %{REQUEST_FILENAME} !-d+ O3 O3 |- T2 j5 j
RewriteRule . /index.php [L]% I9 u- I2 ^9 P! u1 e. Y
" |# h7 j1 _ l$ h, Z2 s8 b# I: q" x U+ C& G
" |/ W0 V( q/ u$ b
怎麼把他轉化成 nginx的重寫規則額?
* y& D, L* W" ]( n& P
' H" _6 L! D/ F: U
" f9 I; e# u" w" ^6 e+ h" h$ M( q |