Tag - ThinkPHP

ThinkPHP    2019-05-04 18:36:33    18    0    0

隐藏index.php
官方默认的 .htaccess文件

Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L