Hello,

Hiltjo Posthuma <[email protected]> [2019-10-29 23:15:56 +0100]:
> You can actually do it in httpd.conf.
> 
> This will give a syntax error (httpd -n):
> 
>       "text/plain; charset=utf-8"     txt
> 
> Using quoting will work:
> 
>       "text"/"plain; charset=utf-8"   txt

Thank you, this indeed works, although feels to be a somewhat hackish
solution.

Unforunately it seems that the same type cannot be specified multiple
times so I cannot just include /usr/share/misc/mime.types any more and
override txt, but I guess I'll just have to create a modified copy of it
and include that.

Kind regards
Bertalan

-- 
Bertalan Z. Péter <[email protected]>
FB9B 34FE 3500 3977 92AE  4809 935C 3BEB 44C1 0F89

/"\
\ /    ASCII Ribbon Campaign
 X   against HTML email & proprietary attachments
/ \    www.asciiribbon.org

Reply via email to