[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache Listings



On Sun, 17 Jun 2001, Jonathan Daugherty wrote:

> Does anyone know how to customize how apache lists files in directories without index.html?  Perhaps a perl script to generate the pages, or something like that?


Use the config directive "DirectoryIndex"  By defaul it is:
DirectoryIndex index.html

Just add what ever you want there ie
DirectoryIndex index.html index.htm INDEX.HTM Default.htm index.php3 index.cgi

If you want to use the last one, which can be used to dynamically create the
directory indexes you need to have:
AddHandler cgi-script .cgi .sh .pl
enabled and you give the approriate directories ExecCGI options.


YMMV

Yours Tony.

/*
 * "The significant problems we face cannot be solved at the
 * same level of thinking we were at when we created them."
 * --Albert Einstein
 */



Reply to: