Trying to learn CGI, please help, total newbie lost

Miguel de Luis Espinosa enteka at fastmail.com
Sat Feb 13 13:09:18 GMT 2021


OK, so, I've never done this kind of thing before, just PHP'd websites or using sinatra (ruby) that would take care of the "small details" for you.

So I tried this on a space I have on the ctrl-c.club tilde

```
#!/usr/bin/ruby

p "20 SUCCESS\n\r" # also tried puts
puts "# Cgi is working"
puts "some text"
puts "=>gemini://enteka.xyz some link"
```

and it doesn't seem to work. Amphora, for one does not recognize it. I'm sure I'm doing thins wrong here

Could that work in principle? Could I have an issue with permissions?

Please help


More information about the Gemini mailing list