sravan e
|
running perl script file through slinger web server on QNX6.3
|
sravan e
02/03/2010 4:17 AM
post46444
|
running perl script file through slinger web server on QNX6.3
Following is my requirement:
I have to develop a web application ( to be on windows) to communicate an application running on QNX6.3.
QNX has slinger web server that supports CGI perl, SSI and DataServer
I am using CGI perl for scripting
For validating input data from html file (GUI) I am using perl script.
Issue: the perl script called from html file is not executing. The html page is prompting to save the .pl file which
is specified in html file.
Below is the proceedure I have followed:
exported following env variables-
export CMD_INT=/usr/bin/perl
export HTTPD_ROOT_DIR=/usr/htmldoc
export HTTPD_ROOT_DOC=Login.html
export HTTPD_SCRIPTALIAS=/usr/cig-bin
slinger -p 8080 &
then opened voyager browser with http://localhost:8080/ -- This opens Login.html.
But when password entered and login button is clicked, a download file dlg is displayed to save the perl script file.
This testing i am doing on local host.
I am attaching the html and .pl file for your reference.
Kindly let me know if you have any solution for this at the earliest.
If possible you could also provide be alternate solution how to go about with web application.
|
|
|