[tech] Doppio: Gemini server in Java
sean at conman.org
Sun Jan 3 03:43:17 GMT 2021
It was thus said that the Great Bill Havanki once stated:
> I’d like to announce my own take on a Gemini server implementation, which
> I’ve named Doppio.
> I implemented it in Java as a fun side coding project, but I hope it’s
> useful for others. It supports the usual good stuff:
> * static files, including finding index files
> * CGI with most meta-variables from RFC 3875, plus a bunch from Apache
For CGI support, I set the REQUEST_METHOD to "" (since RFC-3875 madates
it---others have set it to "GET"), and instead of the Apache variables for
TLS, I used:
and I think others that support CGI have done similar. I like that you used
"Certificate" for AUTH_TYPE (as I have done) and the subject name for
REMOTE_USER (as most others have done). I also added the following:
and again, some others support some of the above. Sadly, the CGI
discussions seem to die out quickly on this list.
Anyway, nice job.
More information about the Gemini