ThinkPHP报错 The requested URL /admin/index/login.html was not found on this server.

2021-05-29 05:16

阅读:827

标签:file   index   技术   php   dmi   load   server   nbsp   文件   

 

技术图片

 

 

 

 

 

 

解决方案
在入口文件夹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.

标签:file   index   技术   php   dmi   load   server   nbsp   文件   

原文地址:https://www.cnblogs.com/summerGraden/p/14749950.html


评论


亲,登录后才可以留言!