I can't access the files with a direct link

Posted May 19, 2015 1.9k views


I uploaded my files to the server, but after the upload I can’t access the files with a direct link. For example

and also on the main domain

This is the how the file system is looking.

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.

Submit an Answer
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