I’ve moved everything over to PHP, so all my archive files now end with .php instead of .html, which basically means that anyone who’s ever linked to anything I’ve written just got cut off.
This seems uncivilized, so I though I should do something about it, but my first attempt to fix it with a bash script that made symlinks not only didn’t work and it was obvious that even if it did work it would be an awfully ugly way of doing things. So I undid that, because I there just has to be a less-gross way of doing that kind of thing, right?
Having read up on Apache’s URL rewrite module, an underpublicized power-tool of webspace administration, not only have I fixed it, but it will require zero maintenance from me in the future and, best of all, nobody should notice that I’ve even made the switch.
RewriteRule (.*)\.html $1.php
Small victories, small victories.