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.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 17057 invoked from network); 24 Feb 2023 10:18:04 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 24 Feb 2023 10:18:04 -0000 Received: from mout02.posteo.de ([185.67.36.66]) by 9front; Fri Feb 24 05:16:36 -0500 2023 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2218524067C for <9front@9front.org>; Fri, 24 Feb 2023 11:16:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1677233793; bh=WBn9vajCbgehdRx1ZY6bWFJAwNK5f8OSbQs0LHdcuqg=; h=To:Subject:From:Date:From; b=Z3cg3ia9FC63mEnH1jJ28puS9xIdE2lq+fFcdtMeLzsCxSrcM2z6PYlTYuf7RqW9U /0GRtDUKCstQSt0m7IPZK8GV9ZR2OHltzTCoQk9P+Qp3KpTKc0ZtF5wP4MZdIBkaMH 1yFPsqXXEe2V4FASB0e7imNDDBTfwjGnWrCfkNKvQc1M0TDr9j73TijvKMJ/lO+36a 4K0D2y8IMnZZEqWI89fchlitbJ4x+Zp4splpc4IO6QxIwGrLn7BlU17MGB8qf3jNbT SqVjlJUPZ9gIMq/gl/t+7Awq4oPbRnrWKoyOwVo/f5KPO5bycixb8s31aQ/ZVuDJKB +f5pwNyRvVt9A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PNQm05m36z6tm5 for <9front@9front.org>; Fri, 24 Feb 2023 11:16:32 +0100 (CET) Message-ID: To: 9front@9front.org From: "Ralf Wissing" Date: Fri, 24 Feb 2023 10:14:34 +0000 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: anonymous ISO-certified XML strategy just-in-time firewall cloud Subject: [9front] rc-httpd "write error" when using cgi Reply-To: 9front@9front.org Precedence: bulk Hi everyone, i am currently experimenting with rc-httpd, and while it works flawless serving static sites i cannot get even a simple cgi script working. Here something i tried: I have a simple rc script which echos a "hello world" html page (which i cannot include in this mail without getting rejected for using html mail). 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 %<------------------------ Running it with aux/listen1 i get only the following after visiting the page with a browser: %<------------------------ echo: write error: Hangup %<------------------------ I am sure that i miss something obvious... and i would now after a few hours tinkering appreciate any kick in the right direction.