chiark / gitweb /
Use text/plain for all-caps filenames in .htaccess
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 18 Oct 2025 23:07:51 +0000 (00:07 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 18 Oct 2025 23:07:51 +0000 (00:07 +0100)
commita0a11e9e34040b66eb993325302ca8edfb50511a
treea082d96ab7c10fad7d76259478e4afd7c97e229d
parent245ab8e8195695f8336e1a41f2870f8b677543a1
Use text/plain for all-caps filenames in .htaccess

There are various text files in the Bedstead sources (and hence on the
Web site) that have conventional names in all caps, like NEWS.  These
should be served as text/plain.  That can be achieved in Apache using
a <FilesMatch> block and ForceType.
.htaccess