小兔网

images/2021/06/21/07/2021062107555312162280.

images/2021/06/21/07/2021062107555312165861.

images/2021/06/21/07/2021062107555312167612.

thinkphp应用的根目录下.htaccess中的内容是:


RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]

相同的代码放 到wamp的环境中开启相同的设置,是没有问题的。
求解!!!

回复内容:

知识兔

images/2021/06/21/07/2021062107555312162280.

images/2021/06/21/07/2021062107555312165861.

images/2021/06/21/07/2021062107555312167612.

thinkphp应用的根目录下.htaccess中的内容是:


RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]

相同的代码放 到wamp的环境中开启相同的设置,是没有问题的。
求解!!!

提示什么错误?还是phpstudy直接启动失败的?看看相关日志信息!