Embedded Web Server ???

Hi,
How can i have an Embedded web server with QNX and without photon (shell) ??
How does Voyager web server works ??
Thanks

Manu wrote:

Take a look at /usr/sbin/slinger. There should be no GUI dependencyon a
web server (but don’t tell that to MSoft).

Dave

Hi,
How can i have an Embedded web server with QNX and without photon (shell) ??
How does Voyager web server works ??
Thanks

Slinger works fine on my embedded floppy but i have a problem.
On my dev computer, the cgi works fine but they don’t on the Embedded
computer…
In fact, the browser send me error -8 (the webserver find the file but it
can execute it!).
The cgi file has permission 0777 …
Can u help me about that ?
Thanks


“David Hawley” <david.l.hawley@computer.org> a écrit dans le message news:
3CBDFAE2.4000900@computer.org

Manu wrote:

Take a look at /usr/sbin/slinger. There should be no GUI dependencyon a
web server (but don’t tell that to MSoft).

Dave

Hi,
How can i have an Embedded web server with QNX and without photon (shell)
??
How does Voyager web server works ??
Thanks

\

Hi,

Had the same problem.

Try this:

/www/bin
/www/html
/www/html/cgi

copy slinger to /www/bin
copy html stuff to /www/html
copy cgi stuff to /www/html/cgi

set your environment to /www/html … index.html … /www/html/cgi

run slinger again. but from /www/bin


Freddy


On Fri, 19 Apr 2002 14:56:12 +0200, “Manu” <manu@inpres.be> wrote:

Slinger works fine on my embedded floppy but i have a problem.
On my dev computer, the cgi works fine but they don’t on the Embedded
computer…
In fact, the browser send me error -8 (the webserver find the file but it
can execute it!).
The cgi file has permission 0777 …
Can u help me about that ?
Thanks


“David Hawley” <> david.l.hawley@computer.org> > a écrit dans le message news:
3CBDFAE2.4000900@computer.org> …
Manu wrote:

Take a look at /usr/sbin/slinger. There should be no GUI dependencyon a
web server (but don’t tell that to MSoft).

Dave

Hi,
How can i have an Embedded web server with QNX and without photon (shell)
??
How does Voyager web server works ??
Thanks



\

I’ve done this:

in my bld file:

/www/bin/slinger=/usr/sbin/slinger
/www/html/index.html=/usr/local/httpd/index.html
/www/html/cgi/cgi1=/usr/local/httpd/cgi1

In my Embedded computer sh floppy, i see the files in the good directories
....
Now in the embedded computer:

export HTTPD_ROOT_DIR='/www/html'
export HTTPD_ROOT_DOC='index.html'
export HTTPD_SCRIPTALIAS='/www/html/cgi'

When i list the environment all is good!! :)
now:

cd /www/bin
../slinger

When i go to http://10.59.5.151 I see the index.html BUT when i go to
http://10.59.5.151/cgi-bin/cgi1 it fails!!!
Voyager return me error -8 ....
Please can you help me ?



"Freddy Martens" <freddy.martens@planet.nl> a écrit dans le message news:
1105_1019482217@inn.qnx.com...
[quote]Hi,

Had the same problem.

Try this:

/www/bin
/www/html
/www/html/cgi

copy slinger to /www/bin
copy html stuff to /www/html
copy cgi stuff to /www/html/cgi

set your environment to /www/html ... index.html ... /www/html/cgi

run slinger again. but from /www/bin


Freddy


On Fri, 19 Apr 2002 14:56:12 +0200, "Manu" <manu@inpres.be> wrote:
Slinger works fine on my embedded floppy but i have a problem.
On my dev computer, the cgi works fine but they don't on the Embedded
computer....
In fact, the browser send me error -8 (the webserver find the file but
it
can execute it!).
The cgi file has permission 0777 ...
Can u help me about that ?
Thanks


"David Hawley" <david.l.hawley@computer.org> a écrit dans le message
news:
3CBDFAE2.4000900@computer.org...
Manu wrote:

Take a look at /usr/sbin/slinger. There should be no GUI dependencyon
a
web server (but don't tell that to MSoft).

Dave

Hi,
How can i have an Embedded web server with QNX and without photon
(shell)
??
How does Voyager web server works ??
Thanks









[/quote]

Manu

Is your cgi script executable?

If not chmod 775 cgi1 should fix it

Rod

Yes it’s in 777 mode…


“Rodney Stevens” <rodney.stevens@minerals.csiro.au> a écrit dans le message
news: aaan1l$lsq$1@inn.qnx.com

Manu

Is your cgi script executable?

If not chmod 775 cgi1 should fix it

Rod

Hi,

/www/html/cgi/cgi1=/usr/local/httpd/cgi1
export HTTPD_SCRIPTALIAS=’/www/html/cgi’

Do

http://10.59.5.151/cgi/cgi1

in stead of…

http://10.59.5.151/cgi-bin/cgi1 > it fails!!!

You are refering to the wrong cgi-bin directory

Cheers


Manu <manu@inpres.be> wrote in message news:aa6bj0$go7$1@inn.qnx.com

I’ve done this:

in my bld file:

/www/bin/slinger=/usr/sbin/slinger
/www/html/index.html=/usr/local/httpd/index.html
/www/html/cgi/cgi1=/usr/local/httpd/cgi1

In my Embedded computer sh floppy, i see the files in the good directories

Now in the embedded computer:

export HTTPD_ROOT_DIR=’/www/html’
export HTTPD_ROOT_DOC=‘index.html’
export HTTPD_SCRIPTALIAS=’/www/html/cgi’

When i list the environment all is good!! :slight_smile:
now:

cd /www/bin
./slinger

When i go to http://10.59.5.151 I see the index.html BUT when i go to
http://10.59.5.151/cgi-bin/cgi1 it fails!!!
Voyager return me error -8 …
Please can you help me ?

“Freddy Martens” freddy.martens@planet.nl a écrit dans le message news:
1105_1019482217@inn.qnx.com
Hi,

Had the same problem.

Try this:

/www/bin
/www/html
/www/html/cgi

copy slinger to /www/bin
copy html stuff to /www/html
copy cgi stuff to /www/html/cgi

set your environment to /www/html … index.html … /www/html/cgi

run slinger again. but from /www/bin

Freddy

On Fri, 19 Apr 2002 14:56:12 +0200, “Manu” manu@inpres.be wrote:
Slinger works fine on my embedded floppy but i have a problem.
On my dev computer, the cgi works fine but they don’t on the Embedded
computer…
In fact, the browser send me error -8 (the webserver find the file but
it
can execute it!).
The cgi file has permission 0777 …
Can u help me about that ?
Thanks

“David Hawley” david.l.hawley@computer.org a écrit dans le message
news:
3CBDFAE2.4000900@computer.org
Manu wrote:

Take a look at /usr/sbin/slinger. There should be no GUI
dependencyon
a
web server (but don’t tell that to MSoft).

Dave

Hi,
How can i have an Embedded web server with QNX and without photon
(shell)
??
How does Voyager web server works ??
Thanks

[/quote]

>