Linux tp5伪静态设置

.htaccess文件写入下面规则

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

posted @ 2019-05-13 16:38  小小强丶  阅读(1841)  评论(0编辑  收藏  举报