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--