Recommended tutorial: "thinkphp framework"
tp5 hidden index. php
Directory
//pullic/static/.htaccess
The file contents are as follows
<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>