💾 Archived View for rawtext.club › ~sloum › geminilist › 001032.gmi captured on 2020-09-24 at 02:10:05. Gemini links have been rewritten to link to archived content

View Raw

More Information

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

<-- back to the mailing list

Gemini and CGI hosting

solderpunk solderpunk at SDF.ORG

Sun May 24 21:44:27 BST 2020

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

On Sun, May 24, 2020 at 01:04:42PM -0700, peteyboy at sdf.org wrote:

So, in my head I've been noodling on the idea of writing a server. I don't understand at all the 10 response, I assume it's supposed to be this cgi business, because i don't see anywhere where a .gmi page can prompt the user. Is that true? Either way, could someone point me to a simple example? (I am running jetforce right now, if that helps)
--

There's no way to prompt the user from within a static text/geminidocument. You'll need a server with some kind of support for dynamiccontent to send the 10 status in response to a request. This is perhapsone of the the biggest conceptual differences between Gopher and Gemini.

I don't see it as a big limitation in practice - a static documentcouldn't *do* anything with the user's response anyway, so there's goingto need to be a CGI app or something similar involved anyway.

Cheers,Solderpunk