推薦教學:《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>