问题描述
Laravel 文件管理器在 localhost 上工作正常,但在服务器上不起作用 当我转到文件链接时,
我收到以下错误:
You don't have permission to access /public/storage/picture/picture2.jpg on this server.
Additionally,a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
解决方法
错误即将到来,因为应用程序无法访问该文件。检查文件夹“/public/storage/picture/”的文件权限,确保它具有正确的权限以及该文件夹中的所有对象。然后文件应该是可见的。