1,105,229 Community Members

Forbidden You dont have permission to access / on this server. Apache/2.2.14 (Ubuntu

Member Avatar
Practically a Master Poster
615 posts since Sep 2008
Reputation Points: -1 [?]
Q&As Helped to Solve: 5 [?]
Skill Endorsements: 0 [?]

When I try to access the /var/www/ folder through apache, which is at http://tom-server/ from my Windows Machine, I get this error, even though it was working before with no changes:


You don't have permission to access / on this server.
Apache/2.2.14 (Ubuntu) Server at tom-server Port 80

This is my httpd.conf file:

<Directory "/var/www/">
Order Allow,Deny
Allow from all

What could I do to fix it?
The apache server is on my Ubuntu Server(10.04.01) box and the computer that it trying to connect to it is running Windows XP.

Member Avatar
Junior Poster in Training
89 posts since Sep 2009
Reputation Points: 16 [?]
Q&As Helped to Solve: 12 [?]
Skill Endorsements: 0 [?]

check to make sure that the directory /var/www/ is readable (at least 444, but more than likely it should be 755) and check the owner and group as well.

This article has been dead for over three months: Start a new discussion instead
Start New Discussion
View similar articles that have also been tagged: