thinkphp阿里云虚拟主机隐藏index.php方法

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>

猜你喜欢

转载自blog.csdn.net/weixin_42287925/article/details/88063266
今日推荐