From: Alex Musolino <alex@musolino.id.au>
To: 9front@9front.org
Subject: Re: [9front] rc-httpd "write error" when using cgi
Date: Fri, 24 Feb 2023 22:31:33 +1030 [thread overview]
Message-ID: <C211B215A76D572D0A24F55E0F24B5FD@musolino.id.au> (raw)
In-Reply-To: <FA9989F392174D3FBA3E95DA783FCEFF@posteo.de>
> 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
next prev parent reply other threads:[~2023-02-24 12:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-24 10:14 Ralf Wissing
2023-02-24 12:01 ` Alex Musolino [this message]
2023-02-25 11:11 ` Ralf Wissing
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C211B215A76D572D0A24F55E0F24B5FD@musolino.id.au \
--to=alex@musolino.id.au \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).