ThinkPHP报错 The requested URL /admin/index/login.html was not found on this server.
2021-05-29 05:16
标签:file index 技术 php dmi load server nbsp 文件 解决方案 ThinkPHP报错 The requested URL /admin/index/login.html was not found on this server. 标签:file index 技术 php dmi load server nbsp 文件 原文地址:https://www.cnblogs.com/summerGraden/p/14749950.html
在入口文件夹public下查看.htaccess是否存在。不存在则新建,存在的话,那内容替换为下面这串代码 就可以解决Not Fund
#
# Options +FollowSymlinks -Multiviews
# RewriteEngine On
#
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
#
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
————————————————
版权声明:本文为CSDN博主「HandShakers」的原创文章。
原文链接:https://blog.csdn.net/qq_42940241/article/details/112461625
文章标题:ThinkPHP报错 The requested URL /admin/index/login.html was not found on this server.
文章链接:http://soscw.com/essay/88968.html