[leaf-user] RE: ANN: Bering-uClibc 2.2

2004-08-21 Thread Marko Nurmenniemi
Maybe related to one post earlier but since I'm not sure.
Something "broke" weblet after the first access. I'm using Mozilla & 
Firefox browsers and weblet (main page at 192.168.1.254) was fine when 
used for the first time. Second time all I get is html (but mozilla will 
not display a page from it).
Ie will render the same page from a windows environment.
After boot (Bering that is) it will show the page again but only once.

It's definately not on the client side because I have tested this from 
Win98SE, Win2K & Fedora Core 2 environments with same results.

The subpages seems to work, http://192.168.1.254/cgi-bin/viewsys seems 
fine and works from Mozilla.

-M
---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


Re: [leaf-user] RE: ANN: Bering-uClibc 2.2

2004-08-21 Thread Jaap Eldering
On Sat, Aug 21, 2004 at 01:31:06PM +0300, Marko Nurmenniemi wrote:
> Maybe related to one post earlier but since I'm not sure.
> 
> Something "broke" weblet after the first access. I'm using Mozilla & 
> Firefox browsers and weblet (main page at 192.168.1.254) was fine when 
> used for the first time. Second time all I get is html (but mozilla will 
> not display a page from it).
> Ie will render the same page from a windows environment.
> After boot (Bering that is) it will show the page again but only once.
> 
> It's definately not on the client side because I have tested this from 
> Win98SE, Win2K & Fedora Core 2 environments with same results.
>
> The subpages seems to work, http://192.168.1.254/cgi-bin/viewsys seems 
> fine and works from Mozilla.

I have experienced the same: in mozilla the main weblet page showed the
html source, in internet explorer it showed up ok. I haven't tested
subpages.

A solution that worked for me, was to change the default content type to
DEFCONTENT="text/html" in /etc/sh-httpd.conf. I am not at all an expert
in html and webservers, so I don't know whether this is the correct
solution.

Jaap Eldering



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


Re: [leaf-user] RE: ANN: Bering-uClibc 2.2

2004-08-21 Thread Martin Hejl
Hi Marko,
Marko Nurmenniemi wrote:
Something "broke" weblet after the first access. I'm using Mozilla & 
Firefox browsers and weblet (main page at 192.168.1.254) was fine when 
used for the first time. Second time all I get is html (but mozilla will 
not display a page from it).
Ie will render the same page from a windows environment.
After boot (Bering that is) it will show the page again but only once.

It's definately not on the client side because I have tested this from 
Win98SE, Win2K & Fedora Core 2 environments with same results.

The subpages seems to work, http://192.168.1.254/cgi-bin/viewsys seems 
fine and works from Mozilla.
You're right - what happened was that /etc/sh-httpd.mime was missing in 
sh-httpd.conf, which would explain the issues you're seeing.

There's an updated version of sh-httpd.lrp in CVS, available at:
http://cvs.sourceforge.net/viewcvs.py/leaf/bin/packages/uclibc-0.9/20/sh-httpd.lrp?rev=HEAD&content-type=application/octet-stream
but unfortunately, it hasn't yet made it into our packages area at
http://leaf.sourceforge.net/packages/uclibc-0.9/20/
so we can't update the packages web-page yet.
I hope that helps.
Martin

---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


Re: [leaf-user] RE: ANN: Bering-uClibc 2.2

2004-08-21 Thread Marko Nurmenniemi
Martin Hejl wrote:
Hi Marko,
Marko Nurmenniemi wrote:
Something "broke" weblet after the first access
You're right - what happened was that /etc/sh-httpd.mime was missing 
in sh-httpd.conf, which would explain the issues you're seeing.

There's an updated version of sh-httpd.lrp in CVS, available at:
http://cvs.sourceforge.net/viewcvs.py/leaf/bin/packages/uclibc-0.9/20/sh-httpd.lrp?rev=HEAD&content-type=application/octet-stream 

but unfortunately, it hasn't yet made it into our packages area at 
http://leaf.sourceforge.net/packages/uclibc-0.9/20/ so we can't update 
the packages web-page yet.

I hope that helps.
Martin
I can confirm that it works.
Just downloaded the "sh-www.lrp" from the link Martin provided directly 
to floppy (replacing the original) and now after a reboot weblet is fine.

I also added the ".../images/blank.gif" to the floppy without 
mentionable results. Logs show that 404 error is now gone. I have no 
idea what the 1x2pixel .gif is doing and where...but it is fixable it seems.

-M
---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


Re: [leaf-user] RE: ANN: Bering-uClibc 2.2

2004-08-21 Thread Martin Hejl
Hi Marko,
Marko Nurmenniemi wrote:
I can confirm that it works.
great - thanks.
I also added the ".../images/blank.gif" to the floppy without 
mentionable results. Logs show that 404 error is now gone. I have no 
idea what the 1x2pixel .gif is doing and where...
Well, those are usually used to create borders or padding - 
unfortunately, those are needed until every browser out there handles 
CSS correctly.

but it is fixable it seems.
Where did you get it from? Every weblet.lrp I looked at seemed to have 
been missing that file as well.

A new version of weblet with blank.gif (I took one I used on my own 
homepage) is on the way to CVS at this very moment.

Martin

---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html