💾 Archived View for bbs.geminispace.org › u › innerteapot › 4215 captured on 2023-11-04 at 15:55:35. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-09-28)
-=-=-=-=-=-=-
Re: "today someone told me they have a html/cgi hosting, and..."
The cheapest Digital Ocean droplet you can get is $4 per month. Should work fine for hosting a gemini capsule 👍
2023-08-14 · 3 months ago
running a socket server in a cgi program would be possible since port 1965 is not a privileged port, however the runtime of a cgi is usually limited to e.g. 30 seconds, so you will not get a long-running server. maybe if you fork, but I guess this would be considered abuse by most (or they might just kill the whole process group when the cgi script ends)
I would assume the firewall and/or selinux (if linux) would stop this if the system is somewhat hardened
thanks for reply, but sadly most of these hosters are counting pennies for using additional gigabytes and bandwidth. it's way cheaper to use google cloud or amazon aws lol
2023-08-16 · 3 months ago
most have to make money somehow, i am using a shared host which is hosted by a friend for my gemini server which i pay a bit for as well, that works quite well (and its cheaper than cloud I guess)
today someone told me they have a html/cgi hosting, and they pay $8 for it. asked if they can host gemini. i said: no, you need a host. you need a console. to setup own server. now i think, hmmm, is it possible to write a cgi program that when started will enter a loop and open a socket on 1965? then it will serve some .gmi files uploaded to web root. will http server allow cgi program to open a socket and practically become a server on its own?