From mboxrd@z Thu Jan 1 00:00:00 1970 From: woplan9@gmail.com Message-ID: <54606ba938edc5c69915b4eb084d9bc1@europa.com> To: 9fans@9fans.net Date: Sun, 18 Sep 2016 23:59:28 +0100 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] httpd - first try Topicbox-Message-UUID: 9f2ddcf6-ead9-11e9-9d60-3106f5b1d025 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 restarte= d 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! :)=20 Thanks for the help. I' m sure i will bother you soon with aditional problems. Jo=C3=A3o Reis > what is in your /lib/namespace.httpd? how do you start httpd? >=20 >=20 >> 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 creatin= g a >> small site. >>=20 >> 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): >>=20 >> " >> Object not found=20 >> =20 >> The object /usr/glenda/web/index.html does not exist on this server.=20 >> errstr: '/usr/web/usr' does not exist=20 >> uri host: =20 >> header host: 192.168.1.100=20 >> 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=B4= t, i=C2=B4m >> afraid, get less cofused by reading httpd man page, but i=C2=B4m sure = it is >> my fault :). >>=20 >> 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? >>=20 >>=20 >> Thanks! >>=20 >> Jo=C3=A3o Reis