Stangely, though, while our web developer could serve pages that worked with this trick, when I implemented them on our own servers, it didn't work! It took a while to realize that the problem wasn't how I was implementing the hack ("check the URLs", "are you line stripping the files?", "make sure the files aren't missing") but rather from where I was serving the hack. Namely, from an old server running Apache.
IE6 would not execute the hack, which was bundled in an IE-only "behavior" file, with a
.htcextension. It would load it, I could see that in the logs, but it never did anything. The problem was that my old Apache wasn't serving up the
.htcfile with the mime-type that IE wanted on it.
So, one quick entry in
/etc/mime.typesand an Apache restart later:
And we're golden.