9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Jules Merit <jules.merit.eurocorp.us@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] httpd - first try
Date: Sun, 18 Sep 2016 15:22:45 -0700	[thread overview]
Message-ID: <CAEVxPTPLg3W_gYLcJK4CFjqnmCpHoo784c5Pu-bMmxtK=aAsCQ@mail.gmail.com> (raw)
In-Reply-To: <6437e292a0f015a3e657c95279c52a02@europa.com>

[-- Attachment #1: Type: text/plain, Size: 1893 bytes --]

Try a syscall trace for what the is trying to be opened.

On Sep 18, 2016 2:57 PM, <woplan9@gmail.com> wrote:

> hello! Thanks for replying. i' m not sure what you mean. I created a file
> index.html in a dir web, inside my user /usr/glenda (so,
> /usr/glenda/web/index.html).
> I think i need a small configuration example for /sys/lib/httpd.rewrite
> and namespace.httpd and a small explanation on how and what directories to
> use to make the raspberry pi host a smal site. Maybe someone that has done
> the same, or similar?
>
> Thanks for the help!
> João Reis.
>
> > Try changing the object index.html into a file.
> > /Bootes
> >
> > On Sat, Sep 17, 2016 at 6:40 PM, <woplan9@gmail.com> wrote:
> >
> >> Hello!  I just re-installed plan9 in a raspberry pi, and this time
> >> around, i´m trying to play with the httpd web server, for creating a
> >> small site.
> >>
> >> I created /usr/web/index.html and tried to run ip/httpd/httpd which
> >> produces the following error page (via browser, and for the intended
> >> ip):
> >>
> >> "
> >> Object not found
> >>
> >> The object /usr/glenda/web/index.html does not exist on this server.
> >> errstr: '/usr/web/usr' does not exist
> >> uri host:
> >> header host: 192.168.1.100
> >> actual host: who cares
> >> "
> >> I also created /usr/glenda/web/index.html but the results are the
> >> same.  I know that the /sys/lib/httpd.rewrite and namespace.httpd are
> >> important files for configuring but i´m not sure how.  I didn´t, i´m
> >> afraid, get less cofused by reading httpd man page, but i´m sure it is
> >> my fault :).
> >>
> >> My objective is the to run the web server for a index.html basic file
> >> on a directory, somewhere in plan9.  Does anyone have any ideas where
> >> the problem might lie?
> >>
> >>
> >> Thanks!
> >>
> >> João Reis
> >>
> >>
> >>
>
>
>

[-- Attachment #2: Type: text/html, Size: 2526 bytes --]

  reply	other threads:[~2016-09-18 22:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-18  1:40 woplan9
2016-09-18 17:18 ` Jules Merit
2016-09-18 21:55   ` woplan9
2016-09-18 22:22     ` Jules Merit [this message]
2016-09-18 22:23 ` Skip Tavakkolian
2016-09-18 22:59   ` woplan9
2016-09-18 23:25     ` Jules Merit

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='CAEVxPTPLg3W_gYLcJK4CFjqnmCpHoo784c5Pu-bMmxtK=aAsCQ@mail.gmail.com' \
    --to=jules.merit.eurocorp.us@gmail.com \
    --cc=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).