I just transferred to a new VPS and I am now getting a 403 error when trying to access any of my websites. Here is an example error_log entry:
[Sun Jan 22 21:23:16 2012] [error] [client **] (13)Permission denied: access to / denied
Now I pretty much have exactly the same setup as before (I don't think anything is different as far as I can recall).
I simply downloaded the website via ftp from one host and uploaded it to my new host. I also edited the httpd.conf and vhost files appropriately.
I have tried chmod'ing (-R recursive) the websites directory to
0777, I have trying chown'ing (-R recursive) the websites directory to my main user but it still doesn't work.
I am guessing this is something to do with ownership but I can't figure it out.
I moved the folder to /home/websites rather than /home/someuser/websites and it worked fine....why is that?