Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Oct 12, 2010 3:38 pm 
Offline

Joined: Tue Oct 12, 2010 3:05 pm
Posts: 1
Hi!

I've recently set up an Ubuntu node at Linode. Done all the settings according to the basic tutorial, but couldn't get my own php pages to work. Instead of that Apache showed "It works!" from /var/www.

Then I disabled the default site with "a2dissite default" and got "403 Forbidden" in the browser.

Then I issued the following commands:

Code:
 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!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group