為什么我localhost/admin/index/index出現(xiàn)的是not found
原來網(wǎng)址只輸入 localhost 可以打開,但是如果輸入localhost/admin/index/index就notfound了
apache下的documentroot設(shè)置的是public為根目錄
沒有改過路由文件
原來網(wǎng)址只輸入 localhost 可以打開,但是如果輸入localhost/admin/index/index就notfound了
apache下的documentroot設(shè)置的是public為根目錄
沒有改過路由文件
2018-07-10
舉報
2018-08-16
在localhost后面追加index.php/
2018-07-11
輸入 localhost 的話進(jìn)入的是 application/index/controller/index.php,這說明服務(wù)器和thinkPHP框架是沒有問題的。只是not found 錯誤有點難定位原因,建議在 application 下 new 一個conf/config.php,然后把app_debug改為true,然后根據(jù)錯誤修改