tp5.1 隐藏index.php文件

1.在原来tp5.1手册给的基础上  修改倒数第二行的代码 加一个?
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>


详情请看 : https://blog.csdn.net/qq_36370731/article/details/72084031
posted @ 2019-02-28 13:39  行熙  阅读(2260)  评论(0)    收藏  举报