Mobile app version of vmapp.org
Login or Join
Murphy175

: Trouble accessing the files in home directory I have a webserver (currently without a domain, since it's just for testing purposes at the moment) which runs on CentOS 7.1 x64. The server has

@Murphy175

Posted in: #HomeDirectory #Webserver

I have a webserver (currently without a domain, since it's just for testing purposes at the moment) which runs on CentOS 7.1 x64. The server has Sentora preinstalled (with File Manager missing for some reason).

I have created an FTP account, connected to it via FileZilla, uploaded a file (index.php, with just phpinfo() in it). When I try to access the file or list the directory via (IP and username given are for illustrative purposes) 127.0.0.1/zadmin_user, I get the standard 404. I have also tried 127.0.0.1/~zadmin_user, and came back with a 404 as well.

What am I doing wrong and how can I access the uploaded file via the browser? Am I targeting the wrong path?

In case it's unclear what I'm asking, I want to be able to type (again, IP given for illustrative purposes, the real IP is different) 127.0.0.1zadmin_userindex.php, and have my browser access the file.

EDIT

Additional info

Server: Apache 2.4.6 / CentOS 7.1 x64

hosts file contents (IP in second row changed just in my post, not on server and in hosts file; same for myfictionalsite.net)

# Automatically generated by OnApp (3.0.7)
127.0.0.1 localhost
192.168.1.1. sentora.myfictionalsite.net
127.0.0.1 sentora.myfictionalsite.net
127.0.0.1 autoreply.sentora.myfictionalsite.net


Permissions for /root are 550, and for var/www 755.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Murphy175

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme