Question

I can't access the files with a direct link

Posted May 19, 2015 1.5k views
CentOSWordPress

Hello,

I uploaded my files to the server, but after the upload I can’t access the files with a direct link. For example
http://dev.kfmc-nm.com/public_html/wp-content/SWF/Acute_GIT_Bleed_Scan/index.php
http://dev.kfmc-nm.com/public_html/wp-content/PDF/Bone/BONE_SCINTIGRAPHY_E.pdf

and also on the main domain
http://kfmc-nm.com/public_html/wp-content/SWF/Acute_GIT_Bleed_Scan/index.php
http://kfmc-nm.com/public_html/wp-content/PDF/Bone/BONE_SCINTIGRAPHY_E.pdf

This is the how the file system is looking.
http://oi60.tinypic.com/15zfg4y.jpg

I am not sure why I can’t access the files.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Without more information about what error you are seeing it is difficult to tell you what the underlying issue is. Based on what you’ve provided, the first thing I would do is to check the permissions on the files you uploaded. If you were using SFTP as the root user you may need to change the ownership to the Apache user (nobody).

chown -Rf nobody:nobody /path/to/your/files
Submit an Answer