💾 Archived View for rawtext.club › ~sloum › geminilist › 006195.gmi captured on 2024-03-21 at 16:31:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

<-- back to the mailing list

Reading Plain Text Files

Baschdel baschdel at disroot.org

Fri Mar 26 08:12:13 GMT 2021

- - - - - - - - - - - - - - - - - - - 

On 26.03.21 08:30, Jason Evans wrote:

rick gemini readers into seeing these files as plain text and then
viewing them?

You should be able to specify the mime-type, that gets sent to the client in your servers configuration file (How exactly this is done is different from server to server and should be documented somewhere in an example configuration, README or manpage).Depending on what else you have there, setting the default mime-type unknown filetypes to text/plain should work. (I'm pretty sure some servers also support overwriting mime-types for whole folders or even using regex)

I hope that helps, have a nice day!

- Baschdel