From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <8c2d7f0c858263725a696b1b2772c62f@europa.com> References: <8c2d7f0c858263725a696b1b2772c62f@europa.com> From: Jules Merit Date: Sun, 18 Sep 2016 10:18:43 -0700 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a114a90ce322f27053ccb6359 Subject: Re: [9fans] httpd - first try Topicbox-Message-UUID: 9f15f7a8-ead9-11e9-9d60-3106f5b1d025 --001a114a90ce322f27053ccb6359 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Try changing the object index.html into a file. /Bootes On Sat, Sep 17, 2016 at 6:40 PM, wrote: > Hello! I just re-installed plan9 in a raspberry pi, and this time > around, i=C2=B4m 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=C2=B4m not sure how. I didn=C2=B4t= , i=C2=B4m > afraid, get less cofused by reading httpd man page, but i=C2=B4m 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=C3=A3o Reis > > > --001a114a90ce322f27053ccb6359 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Try changing the object index.html into a file.
/Boote= s

On S= at, Sep 17, 2016 at 6:40 PM, <woplan9@gmail.com> wrote:
=
Hello!=C2=A0 I just re-installed plan9 in a = raspberry pi, and this time
around, i=C2=B4m 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.=C2=A0 I know that the /sys/lib/httpd.rewrite and namespace.httpd are<= br> important files for configuring but i=C2=B4m not sure how.=C2=A0 I didn=C2= =B4t, i=C2=B4m
afraid, get less cofused by reading httpd man page, but i=C2=B4m 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.=C2=A0 Does anyone have any ideas where<= br> the problem might lie?


Thanks!

Jo=C3=A3o Reis



--001a114a90ce322f27053ccb6359--