Index-Style is a set of html, css and image files designed to work together with the mod_autoindex module to make the default Apache file listings look a little nicer. The UI design is based almost entirely on the great work done by the guys at Repos-Style, although the code itself is largely done from scratch (as mod_autoindex doesn’t support XSLT).
First, get a copy of the index-style folder - the easiest way is to change to the document root of the domain you want to style, and check it out from subversion (in my case the domain will be download.recurser.com ) :
This should create an ‘index-style’ folder in your document root. Next, you need to configure Apache to use the index-style files to style your directory listings. I use the following config, which you’ll need to adjust to match your particular setup - the ‘icons’ alias and the ‘mod_autoindex’ section are the main areas to pay attention to:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
You’ll need mod_autoindex for any of this to work - it should be installed by default with Apache in most linux distributions.