I recently installed apache server via lamp on ubuntu, I tried to copy into /var/www a directory that includes scripts that I created on windows wampserver. For some reason while trying to access this directory I get 403 Forbidden error. Can someone help me please?
Recent apache log -
[Fri Jul 27 08:25:31 2012] [error] [client 127.0.0.1] (13)Permission denied: access to /cms-dev/index.html denied
[Fri Jul 27 08:25:31 2012] [error] [client 127.0.0.1] (13)Permission denied: access to /cms-dev/index.cgi denied
[Fri Jul 27 08:25:31 2012] [error] [client 127.0.0.1] (13)Permission denied: access to /cms-dev/index.pl denied
[Fri Jul 27 08:25:31 2012] [error] [client 127.0.0.1] (13)Permission denied: access to /cms-dev/index.php denied
[Fri Jul 27 08:25:31 2012] [error] [client 127.0.0.1] (13)Permission denied: access to /cms-dev/index.xhtml denied
[Fri Jul 27 08:25:31 2012] [error] [client 127.0.0.1] (13)Permission denied: access to /cms-dev/index.htm denied
[Fri Jul 27 08:25:31 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
Ubuntu is doing some hard time and the only solution is that everytime you copy files to the folder you must run the following script in the terminal -
sudo chmod -R 777 /var/www