Web Hosting Talk







View Full Version : Directory File Listing


JoeB
10-04-2000, 12:42 PM
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?

inwks
10-04-2000, 12:48 PM
Assumably through a browser? You need to tell your server to allow directory browsing.

In IIS, right click the web site, do properties. On the home tab, click "allow directory browsing".

For Apache, its a case of editing a file, but can't remember off the top of my head.

JoeB
10-04-2000, 01:10 PM
Yes through a browser and the server is running Linux/Apache.

<anyone> Where can i look for more info about this?

kunal
10-04-2000, 01:23 PM
Well you could add the following to your .htaccess file
"FancyIndexing On"

Without the "" . I think that should do the trick.

Félix C.Courtemanche
10-04-2000, 02:34 PM
Always make sure that your directory has publix execution enabled, (directory listing) if its disabled, one could still be able to read the files, but not to view the content of the directory. Also make sure it is public readable :)

JoeB
10-04-2000, 03:37 PM
Thanks for the posts.

A posting on another board offered the solution. Here's what worked. I created an .htaccess file with this line "options +indexes".