File Lister(last modified: 16 May, '07)

Aesthetically and functionally pleasing alternative to Apache's directory list
The Apache directory list is old and tired. Plus it doesn't let you sort by a certain field without reloading the whole page again. This file lister remedies that and is easily configured and styled to match your site. It is written as a Python CGI script, so there are no hosting requirements other than Python >= 2.4.
To install it you just extract the archive to somewhere in your document root. When you want a directory to use the script to display its contents, set DirectoryIndex in your .htaccess file to point to the script. For example, if I've extracted the archive to the document root i'd set DirectoryIndex to '/filelist/index.cgi'.
Configuration is easy too. Firstly, you can make the script to only show certain files. In index.cgi you can change the line that says:
| 1 | filters = ["*"] |
to whatever you would like. To show only images, for example, you might do 'filters = ["*.jpg", "*.png", "*.gif"]'.
Secondly, to style entries based on file extension you can add an entry to the stylesheet filelist/styles.css. If I wanted all PNG images listed to have bold text I can add the following line:
| 1 | .png { font-weight: bold } |
Easy peasy. To style directories use the '.dir' selector. Finally you can adjust the title for each page and the small message that appears at the bottom.