9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Skip Tavakkolian <9nut@9netics.com>
To: 9fans@9fans.net
Subject: Re: [9fans] httpd - first try
Date: Sun, 18 Sep 2016 15:23:03 -0700	[thread overview]
Message-ID: <a58d89c75060dd04a19d213e502ec1df@9netics.com> (raw)
In-Reply-To: <8c2d7f0c858263725a696b1b2772c62f@europa.com>

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




  parent reply	other threads:[~2016-09-18 22:23 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 [this message]
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=a58d89c75060dd04a19d213e502ec1df@9netics.com \
    --to=9nut@9netics.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).