小弟有一个htaccess规则需要转换。
因为自己的是NGINX
所以希望能转成nginx的规则
用了网上的自动转换,貌似不行。
规则如下:
RewriteEngine on
RewriteBase /
RewriteCond $1 ^(index\.php)?$
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*)$ -
RewriteRule . /index.php

ForceType 'text/html; charset=UTF-8'

有大神可以帮忙看看吗?