【发布时间】:2023-03-23 04:05:01
【问题描述】:
Laravel Route 说对不起,找不到你要找的页面。
您好,在此先感谢,请有人帮助我,我试图从两天内解决这个问题,但没有任何帮助。
我的路线还可以,但是当我更改路线时,他们会给出此消息
[Sorry, the page you are looking for could not be found.]
我的路线:
// The first one is working perfectly
Route::get('/', function () { return view('TeacherShow'); });
// But the second one is not working
Route::get('/a', function () { return view('TeacherShow'); });
我能做什么?
【问题讨论】:
-
您的 Apache 服务器是否启用了 mod_rewrite?
-
先生,apache 中的这个 mod_rewrite 在哪里,请发给我路径,从过去 2 天开始,我会非常周到地寻找 iam new here
-
php artisan route:clear 将清除缓存的路由
-
我曾尝试过多次清除缓存,但