SCGI with molly-brown
btilley at gatech.edu
btilley at gatech.edu
Mon Jul 13 02:24:27 BST 2020
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.
More information about the Gemini
mailing list