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 16:25:20 -0700	[thread overview]
Message-ID: <CAEVxPTMe5_0x9kjq8zWhEVjF8aqtZiHq2VgqRBgG+7ceCtNsXQ@mail.gmail.com> (raw)
In-Reply-To: <54606ba938edc5c69915b4eb084d9bc1@europa.com>

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

JMerit LaMer Wer c?
What are you doing to me? Are you looking for Merc? I'm a freebooter.

On Sep 18, 2016 4:01 PM, <woplan9@gmail.com> wrote:

> Well..  i find this a bit weird.  I was using /lib/namespace.httpd
> without any changes whatsoever.  I appended the bind /usr/glenda/web
> /usr/web/ to /lib/namespace.httpd.  Killed (Kill httpd | rc) and restarted
> httpd with
> ip/httpd/httpd and it worked.  But i' m confused anyway since,
> afterwards, i removed the /usr/glenda/web and it works anyway.  I
> removed the bind from the namespace.httpd and it works anyway.
>
> Bottom line: it's working with the /sys/lib/httpd.rewrite and
> /lib/namespace.httpd unaltered (with the same content as installed in the
> raspberry pi img), and by creating the directory
> /usr/web, and the file /usr/web/index.html.  Next stop is installing
> werc! :)
> Thanks for the help.  I' m sure i will bother you soon
> with aditional problems.
>
> João Reis
>
>
>
> > what is in your /lib/namespace.httpd? how do you start httpd?
> >
> >
> >> 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: 2817 bytes --]

      reply	other threads:[~2016-09-18 23:25 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
2016-09-18 22:23 ` Skip Tavakkolian
2016-09-18 22:59   ` woplan9
2016-09-18 23:25     ` Jules Merit [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=CAEVxPTMe5_0x9kjq8zWhEVjF8aqtZiHq2VgqRBgG+7ceCtNsXQ@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).