Is basic LAMP tutorial in the library correct?
I've recently set up an Ubuntu node at Linode. Done all the settings according to the basic tutorial
Then I disabled the default site with "a2dissite default" and got "403 Forbidden" in the browser.
Then I issued the following commands:
chown -R root:root /srv/www/
chmod -R 755 /srv/www/
/etc/init.d/apache2 restart
And everything began to work.
The questions:
is the tutorial from Linode library correct?
as I understand there was the permissions issue. Is there any good tutorials explaining the usage of rights and users for Apache in Debian/Ubuntu (it would be good if it is focused for setting up Apache for php web apps)?
Thank you!