psst.. this blog is on hiatus.

Apache Directory Indexes 201

After composing a cute little entry roughly 10 days ago describing how to sex up your Apache directory indexes, I came across some additional information this morning that doesn’t exactly invalidate my previous post but makes it seem amateurish. So I’ve renamed my previous guide to Apache indexes “101″ and called this new and improved primer (it slices, it dices!) the “201″ (advanced) version.

The big advantages of 201 over 101 include:

  • Ability to set the <title>,
  • Flexibility to have code in the <head>, and
  • Most importantly: the ability to integrate indexes quickly with your existing template system.

So with a bit of luck and a bit of resolve, here’s what your directory listings can eventually look like: Indexes 201 example listing

(more…)

Apache Directory Indexes 101

Note: I have since published an update to this entry called Apache Directory Indexes 201. Please read it if you’re interested in a more flexible means of styling indexes.

With a tidbit from the Apache mod_autoindex documentation, I decided to give a little flair to my directory indexes. Usually, indexes are quite vanilla: unstyled HTML 3.2 with tab-delimited textual content enclosed in <PRE> tags.

I’m sure you know what I mean. Take a looksie at the directory listing of BLOGWARS, a sister site of underscorebleach.net: booooring directory listing

Now stand back and be amazed by underscorebleach.net’s directory listing: Indexes 101 directory listing

(more…)