简体   繁体   English

在laravel上部署项目后,出现错误

[英]After I deployed my project on laravel, I got an error

After I deployed my laravel project on the domain and only the homepage is working. 在域上部署laravel项目之后,只有主页可以正常工作。 And the rest when i click, they gave this error: 而其余的当我单击时,他们给出了此错误:

  1. That's an error. 那是一个错误。 The requested URL was not found on this server. 在此服务器上找不到请求的URL。

Can someone afford my question please? 有人可以负担我的问题吗? Thanks in Advance 提前致谢

检查公用文件夹中的.htaccess文件。

First check / set up your routes file. 首先检查/设置您的路线文件。

Look at the file routes/web.php in your application directory and you will see the list of URLs your app will respond to. 查看应用程序目录中的文件routes/web.php ,您将看到应用程序将响应的URL列表。

If something isn't in that list your app will give a 404. 如果该列表中未包含某些内容,则您的应用会给出404。

Also do php artisan route:list to see the same information in another form. 也可以使用php artisan route:list以另一种形式查看相同的信息。 That is the definitive list of routes the app will respond to. 这是应用程序将响应的最终路由列表。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我在第一个Laravel项目中收到此错误“无法创建Composer项目:” - I got this error 'Failed to create Composer project:' in my first Laravel project 将我的 Laravel 项目上传到服务器后出现错误 - I am getting error after uploading my Laravel project to server 我将我的 Laravel 项目部署到 Heroku 但 git 这个 403 错误“禁止您无权访问此资源”。 - I deployed my Laravel project into Heroku but git this 403 error “Forbidden You don't have permission to access this resource.” 我尝试在本地实现“srmklive/paypal”:“~1.0”到我的 Laravel 项目中,在测试实现时,出现以下错误 - i tried implementing "srmklive/paypal": "~1.0", into my laravel project locally, while testing the implementation, i got an error below 从我的GIT存储库获得Laravel项目后,为什么会收到此错误消息? - Why am I getting this error message after I obtained my Laravel project from my GIT repository? 我试图运行一个现有的 laravel 项目。 但是在作曲家更新期间,我收到了这个错误: - I have tried to run an existing laravel project. But during composer update I got this error: 我安装了laravel项目后出现SoapClient错误 - SoapClient error in my laravel project while I have installed it Laravel 路由在我部署到 Beanstalk AWS 后不起作用 - Laravel Route not working after I deployed in Beanstalk AWS 在 Heroku 上部署 Laravel 项目时,出现错误 - When Deploying a Laravel project on Heroku, I got errors 我正在尝试将 maatwebsite/excel package 安装到我的 laravel 中,但出现此错误 - I'm trying to install maatwebsite/excel package to my laravel with but got this error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM