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 path
regexs and values are MIME types. If the path of a file which is about
to be served matches one the regexs, the corresponding MIME type will
be used instead of one inferred from the filename extension."
If you need help forming a suitable regex, feel free to ask here (or
me personally, for that matter) :)
Cheers,
ew0k
Archive home | About this archive