phpstudy 伪静态设置 thinkphp

2023-06-27  本文已影响0人  Mracale
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
 RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
</IfModule>
上一篇 下一篇

猜你喜欢

热点阅读