Web Server

Hi,

We require to Embed Web server module for our QNX based embedded data
acquisition unit. We already have QNX 4.25, Watcom 10.6 , Photon microGUI ,
TCP/IP runtime and development kit licenses with us. Shall we require any
other module (voyager) for implementing a web server for our equipment? How
difficult is it to provide this kind of a facility? Are any samples(source
code) avaialble anywhere?

Please help…

Thanks,
Krupa

Krupa wrote:

Hi,

We require to Embed Web server module for our QNX based embedded data
acquisition unit. We already have QNX 4.25, Watcom 10.6 , Photon microGUI ,
TCP/IP runtime and development kit licenses with us. Shall we require any
other module (voyager) for implementing a web server for our equipment? How
difficult is it to provide this kind of a facility? Are any samples(source
code) avaialble anywhere?

You want slinger. Voyager is a web browser. You should already have
it (try typing “use slinger”).

Rennie Allen <rallen@csical.com> wrote:

Krupa wrote:
Hi,

We require to Embed Web server module for our QNX based embedded data
acquisition unit. We already have QNX 4.25, Watcom 10.6 , Photon microGUI ,
TCP/IP runtime and development kit licenses with us. Shall we require any
other module (voyager) for implementing a web server for our equipment? How
difficult is it to provide this kind of a facility? Are any samples(source
code) avaialble anywhere?

You want slinger. Voyager is a web browser. You should already have
it (try typing “use slinger”).

slinger is a small webserver. Apache should be available for free
download if you need a full-featured one. (But, it is much more
resource expensive.)

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

“David Gibbs” <dagibbs@qnx.com> wrote in message
news:auso84$ieu$1@nntp.qnx.com

Rennie Allen <> rallen@csical.com> > wrote:
Krupa wrote:
Hi,

We require to Embed Web server module for our QNX based embedded
data
acquisition unit. We already have QNX 4.25, Watcom 10.6 , Photon
microGUI ,
TCP/IP runtime and development kit licenses with us. Shall we require
any
other module (voyager) for implementing a web server for our equipment?
How
difficult is it to provide this kind of a facility? Are any
samples(source
code) avaialble anywhere?

You want slinger. Voyager is a web browser. You should already have
it (try typing “use slinger”).

slinger is a small webserver. Apache should be available for free
download if you need a full-featured one. (But, it is much more
resource expensive.)

From my experience Apache v 1.3.27 can be built for QNX4 with Watcom 10.6B
very well, almost without modifications. Technically, i’v done it and using
for a some time. It eats about 1.5…2 times more resources but works much
more stable than Slinger. At least i could see a Slinger’s core dumps twice
or more per week and Apache is working fine for the last month or more. And,
from client’s POV, Apache works significantly faster than Slinger.

For a little server sin’s output looks like this:

SID PID PROGRAM PRI STATE BLK CODE DATA
1 89 //1//apache/bin/httpd 10o RECV 97 21k 196k
1 92 //1/
/apache/bin/httpd 10o REPLY 74 21k 241k
1 93 //1//apache/bin/httpd 10o REPLY 74 21k 241k
1 94 //1/
/apache/bin/httpd 10o REPLY 74 21k 249k
1 95 //1//apache/bin/httpd 10o REPLY 74 21k 249k
1 96 //1/
/apache/bin/httpd 10o REPLY 74 21k 258k
1 485 //1//apache/bin/httpd 10o REPLY 74 21k 249k
1 602 //1/
/apache/bin/httpd 10o REPLY 74 21k 241k
1 704 //1//apache/bin/httpd 10o REPLY 74 21k 258k
1 2977 //1/
/apache/bin/httpd 10o REPLY 74 21k 249k
1 8887 //1/*/apache/bin/httpd 10o REPLY 74 21k 241k

…and for an embedded system with HTTP interface like this:

SID PID PROGRAM PRI STATE BLK CODE DATA
1 61 //7//apache/bin/httpd 10o RECV 72 60k 196k
1 68 //7/
/apache/bin/httpd 10o REPLY 51 60k 208k
1 69 //7//apache/bin/httpd 10o REPLY 51 60k 212k
1 70 //7/
/apache/bin/httpd 10o REPLY 51 60k 208k

Binary version of Apache 1.3.27 for QNX4 can be found here:

ftp://ianzag.megasignal.com/pub/src/apache/apache-1.3.27-qnx4-bin.tar.gz
http://ianzag.megasignal.com/ftp/src/apache/apache-1.3.27-qnx4-bin.tar.gz

// wbr

Krupa <seto@vsnl.com> wrote:

Hi,

We require to Embed Web server module for our QNX based embedded data
acquisition unit. We already have QNX 4.25, Watcom 10.6 , Photon microGUI ,
TCP/IP runtime and development kit licenses with us. Shall we require any
other module (voyager) for implementing a web server for our equipment? How
difficult is it to provide this kind of a facility? Are any samples(source
code) avaialble anywhere?

We have used slinger and we have no problems with its stability.
There is SSI is available (see dataserver ds) and works fine
with most of browsers (however not with I.E. I am afraid).

Andy

Please help…

Thanks,
Krupa