【问题标题】:Laravel 5.4 not found the requested URLLaravel 5.4 找不到请求的 URL
【发布时间】:2019-01-18 19:04:43
【问题描述】:

我已经托管了我的 Laravel 5.4 网站,一切正常,但是当我尝试重置密码时,我在实时服务器上收到此错误:

未找到
在此服务器上找不到请求的 URL /password/reset/daf4775f9259b5462a0a6d79d6777884b46a90a76f71be5db773a37967f712c2。 Apache/2.4.27 (Win64) PHP/7.1.9 服务器在 localhost 端口 80

返回的网址与我的域名不匹配:
http://localhost/password/reset/daf4775f9259b5462a0a6d79d6777884b46a90a76f71be5db773a37967f712c2

如何更改返回 URL 以匹配我的域名?

【问题讨论】:

    标签: laravel-5 http-status-code-404 url-routing change-password forgot-password


    【解决方案1】:

    我找到了解决方案,这是因为我没有在 .env 文件中更改我的网站网址

    【讨论】:

      猜你喜欢
      • 2018-06-12
      • 2016-06-23
      • 2021-07-09
      • 2017-12-12
      • 1970-01-01
      • 1970-01-01
      • 2017-12-26
      • 2015-03-30
      • 2016-11-23
      相关资源
      最近更新 更多