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.

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.