• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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