Laravel 404错误,Laravel根目录可以访问,非根目录就会出现404 页面找不到的错误...

Laravel根目录可以访问 Route::get(‘/‘, ‘[email protected]‘); 非根目录就会出现404 页面找不到的错误,如下 Route::get(‘user‘, ‘[email protected]‘); 解决方法: 首先安装前 1,php开启phpopenssl 2,在apache conf开启rewrite莫块 模块(#LoadModule rewrite_mod
相关文章
相关标签/搜索