litespeed vs apache
February 04, 2026
TIL: openlitespeed (at least the version I was using here) doesn't support DirectoryIndex, or maybe .htaccess configurations at all?
Until just a few minutes ago, when you visited http://www.nfhi.net, you would be served index.html, which redirected with 0 delay to index.shtml. Server side includes are how I am accomplishing the lovely header and footer on each page of this site.
I had initially tried most simple .htaccess configuration:
DirectoryIndex index.shtml
which seemed to have exactly no effect. I reached out to my host's help, and they said I needed to configure my site to use apache instead of litespeed (litespeed was default selected - allegedly the world's fourth most popular web server).
So I did, and now you will be served index.shtml directly, without any delay.
Other html news
You may have noticed iMessage and Signal now serve up a nice image of the site's logo when a link is shared. This is thanks to the following magic in the <head> of every page:
<meta property="og:image" content="/img/card.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
iMessage was incredibly picky about the aspect ratio, and kept displaying the image as an "icon" instead of a full-sized "image", even though I was conforming to the "resource usage guidelines". It took a bit of googling to find the 1200x630 suggestion, that seems to be working thus far.
|
|