I am trying to access web sites on my Mac.
If I use
http://10.0.1.3/index.html then I get a web page with the following error on it:
Forbidden You don't have permission to access /index.html on this server.
If I replace the IP with 'localhost' all is good.
http://10.0.1.3/~myusername/ also works fine.
My OS firewall is disabled. There are no .htaccess files in place and my httpd.conf is pretty straightforward. I have been looking at document root permissions and ownership (apache runs as _www/_www and execute permissions are set on the document root and my index.html file in the root) but still no joy.
Here is /etc/hosts content without comment lines:
127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost