From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29477 invoked from network); 24 Feb 2023 12:03:38 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 24 Feb 2023 12:03:38 -0000 Received: from vultr.musolino.id.au ([45.76.123.158]) by 9front; Fri Feb 24 07:02:08 -0500 2023 Received: from 180.150.112.167 ([180.150.112.167]) by vultr; Fri Feb 24 23:01:34 +1100 2023 Message-ID: To: 9front@9front.org From: Alex Musolino Date: Fri, 24 Feb 2023 22:31:33 +1030 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: secure responsive database realtime framework Subject: Re: [9front] rc-httpd "write error" when using cgi Reply-To: 9front@9front.org Precedence: bulk > Then there is the following configuration: > > File /rc/bin/rc-httpd/select-handler > %<------------------------ > #!/bin/rc > > PATH_INFO=$location > FS_ROOT=/usr/web > > exec static-or-cgi /usr/web/cgitest.rc This part works fine for me. > Running it with aux/listen1 i get only the following after visiting > the page with a browser: What is "it" that you are running with aux/listen1? You should be running /rc/bin/rc-httpd/rc-httpd not /rc/bin/rc-httpd/select-handler. -- Cheers, Alex Musolino