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>

猜你喜欢

转载自www.cnblogs.com/dwq521/p/10857457.html