php - Laravel 5 新手上路路由指向错误
伊谢尔伦
伊谢尔伦 2017-05-16 13:04:39
0
1
380


什么都不填写能返回view('welcome')

用其余两条路由都是指向了整个laravel文件的根目录或者说是我nigix conf的root

windows 环境,求破解

用php serve 倒是对的

肯定是要用nginx的域名代理的

把root改为public,路由指向巨慢,/public/foo 直接返回foo
但是/user 一直在加载,应该还是哪里错了

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
曾经蜡笔没有小新

The reason for the huge slowness has been found.

Change localhost to 127.0.0.1. I found that there is a big difference in the connection speed between the two in the Windows environment. Maybe my hosts have been corrupted

The root of the nginx server must point to public
The domain name of the proxy can be useful. There is no need to get localhost or 127.0.0.1 to write. There are still many differences between local and access domain name development
The root of apache is the same

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!