osamc.de/archiv/.htaccess
2025-03-19 10:42:47 +01:00

13 lines
364 B
ApacheConf

DirectoryIndex index.php index.html index.htm index.pdf
# Ensure .typst files are treated as plain text with UTF-8 encoding
AddType text/plain .typst
AddCharset utf-8 .typst
AddDefaultCharset utf-8
<FilesMatch "\.typst$">
ForceType text/plain
Header set Content-Type "text/plain; charset=UTF-8"
Header set Content-Disposition "inline"
</FilesMatch>