I setup an apache2 sever. However whenever I try to get onto any other page than the index.html (or if i move that it shows a list of the files on the root), It displays a 403 Forbidden message and says I do not have permission to access bla bla bla. I fixed the problem by implementing these set of commands :
sudo chown -R root:root /var/www
sudo chmod -R 755 /var/www
sudo /etc/init.d/apache2 restart
No comments:
Post a Comment