I am using mac leopard and the version of apache that came with my mac. (2.somthing)
I typed this into my web browser:

http://localhost/~<myname>

And this is what was displayed: Picture 1.png
My Sites folder is a shared folder.
How do I fix this?

Do you have filevault on?
If you do, you can only use the localhost's internet folder. You can google but I think it's inside the system library/etc/appache or something...
Can you access plain old http://localhost ?

Do you have filevault on?
If you do, you can only use the localhost's internet folder. You can google but I think it's inside the system library/etc/appache or something...
Can you access plain old http://localhost ?

Yes, i can access http://localhost.

Do you have filevault on?

Do you have filevault on?

No, fileVault is off.

I can tell you it probably has to do with file permissions or the configuration of your sever. I run a server under my bed so I know how much of a pain it is to troubleshoot apache. The directory for localhost/ is at /library/webserver/documents in leopard make a shortcut and put all of your docs there. You can even enable PHP if your into that kind of thing, just google it up!

Ah, the good 'ol allow all.
I'm glad it works now.

please tell about internet folder?

Internet folder???
This is only for Mac leopard, everything should work with lower versions of macosx.