psst.. this blog is on hiatus.

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…)

Slick URLs in Movable Type

If you’re a dorkwad like me, you might’ve looked at the jotsheet URLs and seen that there’s no extension there: no .html, no .php, no .shtml. Here, I can prove it: http://underscorebleach.net/content/jotsheet/2003/11/eu_budget

How do I do that? Good question. But first, you ask, why do I do that?

  1. It makes the URLs future-proof: if my server-side approach (currently SSI) changes to PHP, there’s no need to change the file extension on all the files. Also, the same URL can be bookmarked, and you don’t have to mess with redirecting old URLs in a big honkin’ .htaccess (if you’d even bother with that).
  2. Since Google
  3. It looks cool. Nerd power. Uhh yeah

So, since it might be of some use to another small-time nerd out there, I figure I’ll share my approach to extensionless blog entries in Movable Type. It takes a little bit of doing, but by the time you’re done, you’ll be the coolest blogger on the block.

(more…)