Click to See Complete Forum and Search --> : Help with apache file listing


linuxNohow
04-09-2002, 10:39 PM
Could someone tell me how to set up a folder on my computer that will list files when opened? Like this (http://games.speakeasy.net/data/files/)? I think it's called fancy indexing. I'm pretty sure I have all the modules and stuff I just need to set it up in httpd.conf Thanks in advance!

mychl
04-10-2002, 08:44 AM
yeah, just don't have an index.html file in that directory, and make a link to that directory.

Apache will look for index.*, and if it doesn't find any, it does the directory thing.

HTH

redeye
04-10-2002, 10:09 AM
as suggested, get rid of index.html, index.htm, etc - also note that you can use some of the features of the .htaccess file to control this and also to limit what is actually listed.
http://www.javascriptkit.com/howto/htaccess11.shtml