最新回答 / 浮塵www
在nginx里加上如下rewrite代碼:location / {? ? ? ? try_files $uri $uri/ /index.php?$query_string;? ? }? ? if (!-d $request_filename)? ? {? ? ? ? rewrite ^/(.+)/$ /$1 permanent;? ? }? ? # 去除index action? ? if ($request_uri ~* index/?$)? ? {? ? ? ? rewrite ^/(.*)/ind...
2018-07-21
最贊回答 / 慕UI4579141
已解決 可以參考這兩個https://blog.csdn.net/weixin_33692284/article/details/91957482https://blog.csdn.net/haibo0668/article/details/105229541
2018-07-19
http://localhost/laravel/public/basic1之所以服務器訪問不到是因為index.php默然不顯示,需要http://localhost/laravel/public/index.php
/basic1
/basic1