目前 apache上可用的 重寫規則是 求大牛 幫忙重寫下
6 y0 a0 t- m5 t6 \7 \3 a( V
; D9 k1 Q8 b1 A( jRewriteCond %{REQUEST_FILENAME} !-f
" a* p; a0 n& W" m) r: y1 p; G4 zRewriteCond %{REQUEST_FILENAME} !-d; i% P" @# r* i, d, [8 c0 T
RewriteRule ^reviews(.*)$ /ci/reviews$1 [L]
7 F) v. r% ^1 z
5 c3 R6 f. p7 b }) ?$ dRewriteCond $1 !^(index\.php|images|robots\.txt)/ p# t ?+ t ` ^# O
RewriteRule ^ci/(.*)$ /ci/index.php/$1 [L]+ a" U# M! D2 K! k- X2 P- ~- L
" p0 N( O) F: n+ k9 [
; _4 Y3 ?# I% W& w& O8 O, ?
- `" x/ N3 Y# ]$ q4 J5 c) ~
RewriteCond %{REQUEST_FILENAME} !-f& A& B/ l. N" y8 d/ i
RewriteCond %{REQUEST_FILENAME} !-d- q; u, n; A5 d4 ^4 t6 m' k: |
RewriteRule . /index.php [L]0 Q9 e8 ]+ P# [7 r, ]
q, Z. M) n1 x) M( f
, k! X" A# w1 z t, U
8 e$ Y3 q" K0 i3 ]& @6 e6 W& n怎麼把他轉化成 nginx的重寫規則額?) O/ q% p9 ]3 S7 n w. N
+ S1 f& y) F8 ?
3 ^$ M0 z8 R% E |