求把下面apache的rewrite规则改为nginx支持规则
<IfModulemod_rewrite.c>RewriteEngineonRewriteBase/RewriteCond%{REQUEST_FILENAME}!-dRe...
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
RewriteRule \/plus\/view\.php /Index-index-redirect-yes [QSA,L]
RewriteRule \/plus\/list\.php /Index-index-redirect-yes [QSA,L]
</IfModule> 展开
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
RewriteRule \/plus\/view\.php /Index-index-redirect-yes [QSA,L]
RewriteRule \/plus\/list\.php /Index-index-redirect-yes [QSA,L]
</IfModule> 展开
若以下回答无法解决问题,邀请你更新回答
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询