💾 Archived View for gemi.dev › gemini-mailing-list › 000292.gmi captured on 2023-12-28 at 15:44:43. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-04)

🚧 View Differences

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

SCGI with molly-brown

1. btilley (a) gatech.edu (btilley (a) gatech.edu)

Hi,

I have a molly-brown server running on OpenBSD armv7 here:

    gemini://gemini.go350.com/

I'm trying to get basic SCGI functionality now. I wrote a small Go program 
as an initial SCGI program:

    gemini://gemini.go350.com/main.go

The program works on the system. I can invoke it with netcat and see its output:

    $ nc -U /tmp/url_check.sock 
    Content-Type: text/plain

    Hi there!

However, I cannot get it to work with molly-brown (castor and bombadillo 
browsers). I think I have everything configure correctly in molly-brown. 
Here is my SCGI Path from /etc/molly.conf:

    "/scgi-app-1/" = "/tmp/url_check.sock"

Can someone explain what I've done wrong? 

Thanks,

Brad

Link to individual message.

2. btilley (a) gatech.edu (btilley (a) gatech.edu)

On Sun, Jul 12, 2020 at 09:25:21PM +0000, btilley at gatech.edu wrote:
> Hi,
> 
> I have a molly-brown server running on OpenBSD armv7 here:
> 
>     gemini://gemini.go350.com/
> 
> I'm trying to get basic SCGI functionality now. I wrote a small Go 
program as an initial SCGI program:
> 
>     gemini://gemini.go350.com/main.go
> 
> The program works on the system. I can invoke it with netcat and see its output:
> 
>     $ nc -U /tmp/url_check.sock 
>     Content-Type: text/plain
> 
>     Hi there!
> 
> However, I cannot get it to work with molly-brown (castor and bombadillo 
browsers). I think I have everything configure correctly in molly-brown. 
Here is my SCGI Path from /etc/molly.conf:
> 
>     "/scgi-app-1/" = "/tmp/url_check.sock"
> 
> Can someone explain what I've done wrong? 
> 
> Thanks,
> 
> Brad

I figured this out. It's important that this line of molly.conf is uncommented as well:

    [SCGIPaths]

I thought it was just a code comment/section marker. After uncommenting 
it, the SCGI program worked as expected.

Link to individual message.

---

Previous Thread: [ANN] Space Age now supports dynamic Gemini apps

Next Thread: [ANN] Transjovian Council: Gemini Wiki hosting