9front - general discussion about 9front
 help / color / mirror / Atom feed
From: mkf9 <mkf9@riseup.net>
To: 9front@9front.org
Subject: Re: [9front] httpd minimal configuration
Date: Tue, 21 Jun 2022 22:14:02 +0430	[thread overview]
Message-ID: <a8230b49-a0c0-dd37-5164-ac540b1cb73b@riseup.net> (raw)
In-Reply-To: <Fv9dpQZrUIkh1tjCmMtiMLauJ-XXCSUyPgLFDOEknDWBNfzpE9OuKowQvlrjSkmGxypk9_SzuuXPpgGMk-SsemYR816dLKJ9iN_AubJrtyw=@proton.me>

Hi.

planless.user9 wrote:
> My preference would be httpd, however I can't find any documentation for 
> it apart from the man page and unfortunately I don't know what exactly 
> is expected in the web root. Is it possible to put static html pages 
> directly in it, or is a cgi expected? Is there perhaps a simple example 
> that I missed in my search on the wiki, fqa and via search engine?
> 
these might be helpful for the idea of how httpd works:
https://plan9.io/wiki/plan9/httpd/index.html
http://werc.cat-v.org/docs/web-server-setup/plan-9-httpd

however, httpd is one of more complex programs that exist in 9front
and may take longer to learn.

> What would be the minimum namespace configuration needed to display a 
> static page?
> putting your files in /usr/web should be enough.
iirc.

      parent reply	other threads:[~2022-06-21 17:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-21 11:48 planless.user9
2022-06-21 12:23 ` hiro
2022-06-21 12:31   ` hiro
2022-06-21 12:58     ` planless.user9
2022-06-21 13:15       ` Jacob Moody
2022-06-21 14:06         ` planless.user9
2022-06-21 18:40           ` sirjofri
2022-06-22  6:25           ` william
2022-06-22  9:09             ` planless.user9
2022-06-22  9:29               ` umbraticus
2022-06-22 10:38                 ` hiro
2022-06-21 17:52   ` mkf9
2022-06-21 17:44 ` mkf9 [this message]

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=a8230b49-a0c0-dd37-5164-ac540b1cb73b@riseup.net \
    --to=mkf9@riseup.net \
    --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).