I've setup a virtual host in apache using the following in my httpd.conf file
I've put an index file in the root of the site, which I can access in a browser perfectly fine.
I then uploaded a site to the folder but it's having problems finding files that are within folders.
So I uploaded an index.html file into an empty folder, and I'm getting file not found on that as well.
if I root into the server and use vi to create an index.html file inside a folder, then it's accessible in the browser. From this I thought it might have been a permissions issue, but I changed permissions to 777 on all files and folders, that didn't work, so I changed the owner and group to apache:apache, and still, the files are not accessible in a browser.
So, why is it that when I create a file as root, it works, but if I upload one via FTP, it doesn't? even if I change the owner and permissions?