Start New Discussion within our Linux and Unix Community

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.

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 six months. Start a new discussion instead.