Right now when i go to the directory (not a specific page) I get an error message. I want to setup the directory to give me a listing of the files in the directory.

I was wondering how do you setup a directory or server to list files in a directory via the web?