I am running Ubuntu with Apache (LAMP stack). When I changed the webroot from /var/www to /media/data/www, I keep getting 403 Forbidden even after
chmod-ing the directory + files to 777. What did I do wrong? Also referencing /var/www, I noticed that the directory + files are owned by
root should that be the case? Shouldn't it be
www-root? Also if its root, will apache not be able to access it?
I noticed that I am getting errors like
[Wed May 11 11:53:40 2011] [crit] [client 127.0.0.1] (13)Permission denied: /media/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
but thing is, my web root is