推荐教程:《thinkphp框架》
tp5隐藏index.php
目录
//pullic/static/.htaccess
文件内容如下
<IfModule mod_rewrite.c> Options +FollowSymlinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)index.php?s =1 [QSA,PT,L] </IfModule>