• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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