<-- back to the mailing list

Reading Plain Text Files

Björn Wärmedal bjorn.warmedal at gmail.com

Fri Mar 26 08:57:10 GMT 2021

- - - - - - - - - - - - - - - - - - - 
I'll check how to do that. I'm using the molly-brown server because it
seemed like one of the easiest one to set up.
Jason

I think the setting you're looking for is MimeOverrides:https://tildegit.org/solderpunk/molly-brown

"MimeOverrides: In this section of the config file, keys are pathregexs and values are MIME types. If the path of a file which is aboutto be served matches one the regexs, the corresponding MIME type willbe used instead of one inferred from the filename extension."

If you need help forming a suitable regex, feel free to ask here (orme personally, for that matter) :)

Cheers,ew0k