Gemini and CGI hosting

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/gemini
document.  You'll need a server with some kind of support for dynamic
content to send the 10 status in response to a request.  This is perhaps
one of the the biggest conceptual differences between Gopher and Gemini.

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

Cheers,
Solderpunk

---

Previous in thread (16 of 19): 🗣️ Sean Conner (sean (a) conman.org)

Next in thread (18 of 19): 🗣️ peteyboy (a) sdf.org (peteyboy (a) sdf.org)

View entire thread.