Apache Forbidden Error

When i go to my browser and type both localhost or the ip, i get Forbidden, you do not have permission to access / on this machine

Whys that ?

A few things to try.

Firstly, check the permissions on whatever directory your "DocumentRoot" directive points at.

Secondly, newer versions of Apache default to listening on port 8080, so try browsing to http://localhost:8080 (you can change the listening port in httpd.conf)

Thirdly, try using apachectl to restart the server.

Fourthly (is that a word?!), try adding an index.html file to your document root.

Cheers
ZB