💾 Archived View for bbs.geminispace.org › u › byte › 11432 captured on 2024-06-16 at 18:37:38. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-26)

➡️ Next capture (2024-07-09)

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

hello there!

I'm glad to join all of you in geminispace! I have my capsule with agate server, but it doesn't support CGI afaik. Does somebody know how to add them to it? Maybe it's possible to host another server that supports them and make them work on the same domain but different pages? I'm a bit lost

#agate #cgi

📡 byte

2023-11-03 · 7 months ago · 👍 Minko_Ikana

5 Comments ↓

🐝 Addison · 2023-11-03 at 15:19:

What's the CGI for, out of curiosity?

Lots of servers can do stuff like this, like my MoonGem for example

📡 byte [OP] · 2023-11-03 at 15:21:

idk yet, just for testing for starters, maybe for a guestbook later

🌲 sloum · 2023-11-03 at 21:04:

Will this be for a multiuser server where you dont trust all of the users? Golang previously required running with more privileges than you might like in that situation (so a Go based server that has not been updated lately may not be the best call). That said, if it is just you: I recommend solderpunks server Molly Brown (which I _think_ has been updated to fix that issue). It works well, the cgi makes sense. Nicely configurable.

📡 byte [OP] · 2023-11-04 at 15:35:

@sloum I found a rust thingie - gemserv. Although it look like semi-abandonware, I made it work locally with cgi after some patching. Probably gonna fork it on the sourcehut and screw around with it until it breaks

🍀 gritty · 2023-11-04 at 15:55:

— HOWTO amd examples

I use GmCapsule by Skyjake, which/who also runs the BBS here. if you scroll to the bottom of my how-to linked below you can find example CGI scripts to try out.