环境:
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里单独配置嘛
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号