• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Issue with uploaded image showing 403 forbidden linux nginx server

hemant

New Pleskian
A image uploaded via php script showig 403 forbidden. [Folder permission is fine, unable to download or delete via FTP client also.] But I can open file via plesk panel/

But if uploaded via FTP on same folder, image appears.
Also all old images within same folder also appears fine.

server linux nginx. plesk 12, php version 5.5


It was working fine before on our old server. due to some reason old server is dead, so new server setup and backup restored.

Not sure why this issue occure.
 
It seems that the PHP script is more restrictive with permissions. Have you compared owner, group and permissions between the files that are uploaded through FTP and the ones that are created by your PHP script? What are the results of a comparison?
 
Back
Top