|
目前 apache上可用的 重写规则是 求大牛 帮忙重写下
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^reviews(.*)$ /ci/reviews$1 [L]
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^ci/(.*)$ /ci/index.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
怎么把他转化成 nginx的重写规则额?
|
|