输入banner图图片脚本导航/分类

LaravelHTTPS环境下路由NotFound

环境:
ubuntu + apache2 + Laravel5.1

现象:
https://..../../ 可正常访问 (index.html/index.php)

https://..../../test.php apache报错 Not Found

请问 Apache 或 php 需要哪些设置 ?

回复内容:

环境:
ubuntu + apache2 + Laravel5.1

现象:
https://..../../ 可正常访问 (index.html/index.php)

https://..../../test.php apache报错 Not Found

请问 Apache 或 php 需要哪些设置 ?

问题解决了,Apache 需要mods-enabled里加载 mods-available中的rewrite.load文件,就可以解决laravel路由在https下的访问问题。

谢谢楼下 :D

laravel的路由不应该在route.php里单独配置嘛