Newbee Help,
I am using slinger because of the resource requirements.
System files are scaled back.
The structure of the interest is:
root
flash0 → web → cgi
I have put Perl in the cgi directory,
the cgi directory is in the library and the executable paths.
When I run ipstats.cgi in a telnet session the CGI script ran properly,
after I added some library files.
When I go to run index.shtml in an HTML browser,
it does not execute the CGI script properly via the SSI.
The following line trips when the next line is executed.
The ipstats.cgi script contain:
#!/flash0/web/cgi/perl
exec “cat /proc/ipstats”
boot script settings:
TERM=vt102
TMPDIR=/
HTTPD_ROOT_DIR=/flash0/web
HTTPD_ROOT_DOC=index.shtml
HTTPD_SCRIPTALIAS=/flash0/web/cgi
CMD_INT=/bin/sh
…
display_msg “** Starting web server (slinger)”
slinger -s -c -e -p 80 &
…
I am logged in as Root in the telnet session.
Permissions are all 777.
Root owns everything.
Am I missing a Perl library for the html side or what???
(QNX6)