From a0a11e9e34040b66eb993325302ca8edfb50511a Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sun, 19 Oct 2025 00:07:51 +0100 Subject: [PATCH] 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 block and ForceType. --- .htaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.htaccess b/.htaccess index dbc5164..fa1c09f 100644 --- a/.htaccess +++ b/.htaccess @@ -1,5 +1,8 @@ DirectoryIndex index.xhtml AddType application/xhtml+xml;charset=UTF-8 .xhtml AddType font/otf;outlines=CFF .otf + + ForceType text/plain + AddOutputFilterByType DEFLATE application/xhtml+xml text/css font/otf \ text/plain text/x-csrc application/postscript -- 2.30.2