Recent Topics

Uploaded Image showing error 403 forbidden



  • Uploaded Image showing error 403. forbidden access. Like

    http://site-name.com/public/storage/slider_images/Default/PqZhtr1f7NgxCkIRhHFbxi1VB7jbCdddGvZ645NV.jpeg

    showing bellow message while image uploaded and exist
    Forbidden
    You don't have permission to access this resource.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.



  • Hi @sandeep,

    From inside /public, run:

    chown -R username:group storage
    Of course replace username:group with the same username:group combo that you find against any other public file or folder when you run ls -l whilst in the public folder.

    For more reference, please read this one - https://www.oipapio.com/question-27079

    Thanks



  • This error indicates that the server has determined that you are not allowed access to the thing you've requested, either on purpose or due to a misconfiguration . It's probably because the site owner has limited access to it and you don't have permission to view it. The vast majority of the time, there's not much you can do to fix things on your (*client) end. There are four common causes for 403 Forbidden error (server side) . Here they are listed from most likely to least likely:

    • An empty website directory
    • No index page
    • Incorrect settings in the .htaccess file
    • Permission / Ownership error

    If authentication credentials were provided in the request, the server considers them insufficient to grant access. The client SHOULD NOT automatically repeat the request with the same credentials. The client MAY repeat the request with new or different credentials. However, a request might be forbidden for reasons unrelated to the credentials.


Log in to reply