From mboxrd@z Thu Jan 1 00:00:00 1970 From: woplan9@gmail.com Message-ID: <8c2d7f0c858263725a696b1b2772c62f@europa.com> To: 9fans@9fans.net, woplan9@gmail.com Date: Sun, 18 Sep 2016 02:40:12 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: [9fans] httpd - first try Topicbox-Message-UUID: 9f09fb60-ead9-11e9-9d60-3106f5b1d025 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=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=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 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-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: woplan9@gmail.com Message-ID: <6437e292a0f015a3e657c95279c52a02@europa.com> To: 9fans@9fans.net Date: Sun, 18 Sep 2016 22:55:59 +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: 9f20d556-ead9-11e9-9d60-3106f5b1d025 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 a= nd 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 do= ne the same, or similar?=20 Thanks for the help!=20 Jo=C3=A3o Reis. > Try changing the object index.html into a file. > /Bootes >=20 > On Sat, Sep 17, 2016 at 6:40 PM, wrote: >=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. >> >> 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=B4= t, 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 >> >> >> From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <6437e292a0f015a3e657c95279c52a02@europa.com> References: <6437e292a0f015a3e657c95279c52a02@europa.com> From: Jules Merit Date: Sun, 18 Sep 2016 15:22:45 -0700 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a113ed16e8c9ae2053ccfa2c9 Subject: Re: [9fans] httpd - first try Topicbox-Message-UUID: 9f2a2796-ead9-11e9-9d60-3106f5b1d025 --001a113ed16e8c9ae2053ccfa2c9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Try a syscall trace for what the is trying to be opened. On Sep 18, 2016 2:57 PM, 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 t= o > use to make the raspberry pi host a smal site. Maybe someone that has don= e > the same, or similar? > > Thanks for the help! > Jo=C3=A3o Reis. > > > 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 creatin= g 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 > >> > >> > >> > > > --001a113ed16e8c9ae2053ccfa2c9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

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


On Sep 18, 2016 2= :57 PM, <woplan9@gmail.com>= wrote:
hello! Thank= s for replying. i' m not sure what you mean. I created a file index.htm= l 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=C3=A3o 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!=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 cre= ating a
>> small site.
>>
>> I created /usr/web/index.html and tried to run ip/httpd/httpd whic= h
>> produces the following error page (via browser, and for the intend= ed
>> ip):
>>
>> "
>> Object not found
>>
>> The object /usr/glenda/web/index.html does not exist on this serve= r.
>> 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<= br> >> same.=C2=A0 I know that the /sys/lib/httpd.rewrite and namespace.h= ttpd are
>> 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 s= ure it is
>> my fault :).
>>
>> My objective is the to run the web server for a index.html basic f= ile
>> on a directory, somewhere in plan9.=C2=A0 Does anyone have any ide= as where
>> the problem might lie?
>>
>>
>> Thanks!
>>
>> Jo=C3=A3o Reis
>>
>>
>>


--001a113ed16e8c9ae2053ccfa2c9-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net Date: Sun, 18 Sep 2016 15:23:03 -0700 From: Skip Tavakkolian <9nut@9netics.com> In-Reply-To: <8c2d7f0c858263725a696b1b2772c62f@europa.com> 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: 9f25e41a-ead9-11e9-9d60-3106f5b1d025 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=C2=B4m trying to play with the httpd web server, for creating= 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 i= t 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 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 From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <54606ba938edc5c69915b4eb084d9bc1@europa.com> References: <54606ba938edc5c69915b4eb084d9bc1@europa.com> From: Jules Merit Date: Sun, 18 Sep 2016 16:25:20 -0700 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a113ed16e53e35f053cd082b3 Subject: Re: [9fans] httpd - first try Topicbox-Message-UUID: 9f31f566-ead9-11e9-9d60-3106f5b1d025 --001a113ed16e53e35f053cd082b3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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, 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 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! :) > 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? > > > > > >> 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. > >> > >> 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 > > > --001a113ed16e53e35f053cd082b3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

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..=C2=A0= i find this a bit weird.=C2=A0 I was using /lib/namespace.httpd
without any changes whatsoever.=C2=A0 I appended the bind /usr/glenda/web /usr/web/ to /lib/namespace.httpd.=C2=A0 Killed (Kill httpd | rc) and resta= rted httpd with
ip/httpd/httpd and it worked.=C2=A0 But i' m confused anyway since,
afterwards, i removed the /usr/glenda/web and it works anyway.=C2=A0 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 r= aspberry pi img), and by creating the directory
/usr/web, and the file /usr/web/index.html.=C2=A0 Next stop is installing werc! :)
Thanks for the help.=C2=A0 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?
>
>
>> 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 cre= ating a
>> small site.
>>
>> I created /usr/web/index.html and tried to run ip/httpd/httpd whic= h
>> produces the following error page (via browser, and for the intend= ed
>> ip):
>>
>> "
>> Object not found
>>
>> The object /usr/glenda/web/index.html does not exist on this serve= r.
>> 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<= br> >> same.=C2=A0 I know that the /sys/lib/httpd.rewrite and namespace.h= ttpd are
>> 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 s= ure it is
>> my fault :).
>>
>> My objective is the to run the web server for a index.html basic f= ile
>> on a directory, somewhere in plan9.=C2=A0 Does anyone have any ide= as where
>> the problem might lie?
>>
>>
>> Thanks!
>>
>> Jo=C3=A3o Reis


--001a113ed16e53e35f053cd082b3--