2009-08-27

apache 2 - beautify directory listings

After a long time I found out:

mod_autoindex is responsible for the generation:

I had to put in the following:

IndexOptions FancyIndexing HTMLTable VersionSort FoldersFirst NameWidth=* SuppressDescription

- Most importantly for me was the NameWidth=*, i.e. automatically size it to the longest name and FoldersFirst so it's like explorer.


IndexStyleSheet "/css/style.css"

- With this I was able to put in a stylesheet and change the font and background

IndexIgnore P*_files components.swf loadflash.js

- This helped to get rid of some files from displaying

No comments: