From: "Danny Wilkins via 9fans" <9fans@9fans.net>
To: 9fans@9fans.net
Subject: [9fans] rc-httpd cgi heredocs
Date: Mon, 20 Oct 2025 20:36:11 -0400 [thread overview]
Message-ID: <aPbU3WePhxAOcYNH@duke.tekk.in> (raw)
(Sorry if the last message got through, misremembered m as new mail in nedmail and it forwarded the first message in my inbox)
I'm messing around with cgi scripts in rc-httpd to store my html templates, however when I try to execute them, the script
errors out because it can't open /tmp/herex..... . I assume herefiles are 'fake' and just throw a file in /tmp, but what do
I need to do to let cgi scripts use them? I'm invoking my script with the cgi handler and I don't see any special handling
for tmp in there.
Thanks,
Danny
y
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T8ffed3c3ff150047-M1e0d0a22f47c0b55ff4c467d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
next reply other threads:[~2025-10-21 14:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-21 0:36 Danny Wilkins via 9fans [this message]
2025-10-21 15:54 ` Danny Wilkins via 9fans
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=aPbU3WePhxAOcYNH@duke.tekk.in \
--to=9fans@9fans.net \
/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).