简体   繁体   English

Laravel 部署 403 Access Forbideen

[英]Laravel deploying 403 Access Forbideen

I'm trying to deploy my laravel 8 project in my hosting.我正在尝试在我的主机中部署我的 laravel 8 项目。
After I publich whole files of the projct, I got the 403 Access Forbidden.在我公开项目的整个文件后,我得到了 403 Access Forbidden。
My websites on the server work perfectly, but this project I don't know what's is the problem.我在服务器上的网站运行良好,但这个项目我不知道是什么问题。
And I'm sure that the problem in the project files not in the server.而且我确定项目文件中的问题不在服务器中。
This is the website: [Sheeks] ( http://manage-sheek.manarat-free.com/ )这是网站:[Sheeks] ( http://manage-sheek.manarat-free.com/ )

If all of your configurations at server is correct then it's because of cached data.如果您在服务器上的所有配置都是正确的,那么这是因为缓存数据。 Run commands:运行命令:

php artisan config:cache
php artisan route:cache

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM