
解決方案
在入口文件夾public下查看.htaccess是否存在。不存在則新建,存在的話,那內容替換為下面這串代碼 就可以解決Not Fund
#<IfModule mod_rewrite.c>
# Options +FollowSymlinks -Multiviews
# RewriteEngine On
#
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
#</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>
————————————————
版權聲明:本文為CSDN博主「HandShakers」的原創文章。
原文鏈接:https://blog.csdn.net/qq_42940241/article/details/112461625
