我搭建的 laravel 不能路由是怎么回事,新搭建了一个 laravel 框架网站,只有/index. PHP /routes
时间: 2020-08-21来源:V2EX
前景提要
路由代码 Route::get('/blog/post/{post_id}', function ($post_id) { return $post_id; });
访问 site/index.php/blog/post/1 能出结果,访问 site/blog/post/1 由 apache 返回 404
apache 设置 000-default-le-ssl.conf ServerAdmin [email protected] DocumentRoot /var/www/blog/public Servername site
是我哪里没设置好吗,求解答

科技资讯:

科技学院:

科技百科:

科技书籍:

网站大全:

软件大全:

热门排行