intertwingly

It’s just data

Vigilance


Jacques Distler: You either have to be a programming whiz, a deranged physicist, or some equally atypical character, who’s willing to cobble together something half-way bulletproof.

For the record, despite all of my efforts, when Evan went to check, my setup had ***GASP*** stopped serving my main page with the appropriate mime type to standards compliant browsers.  The problem appears to be an unfortunate interaction between DirectoryIndex and Mod Rewrite (i.e., the former stomping over the latter's mime type instructions).  I believe that this change happened without my participation, i.e., some random system upgrade caused this change in behavior.

After a bit of frustrating experimentation, I couldn't find any way to get DirectoryIndex to either gracefully get out of the way or to behave, so I decided to mod rewrite it out of the equation.

So... if you are following anything remotely related to these instructions, you might consider adding something like the following lines to your .htaccess file:

RewriteBase /blog
RewriteCond %{REQUEST_FILENAME} /$
RewriteRule (.*) /blog/$1/index.html