We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,272 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

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

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:

Forbidden

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
</Directory>

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.

3
Contributors
1
Reply
1 Day
Discussion Span
2 Years Ago
Last Updated
4
Views
tomtetlaw
Practically a Master Poster
615 posts since Sep 2008
Reputation Points: 9
Solved Threads: 5
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.

kylegetson
Junior Poster in Training
89 posts since Sep 2009
Reputation Points: 26
Solved Threads: 12
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0562 seconds using 2.71MB