MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » January 1998

CGI Programs failing


  • Subject: CGI Programs failing
  • From: Peter Coffin <phcoffin@xxxxxxxxxx>
  • Date: Mon, 26 Jan 1998 11:21:52 -0500

fixed

Frustration is setting in with my attempts to get a CGI program to run. I write
the thing (or from later experiements, type it in from the redbook), compile it
to a module, bind it into a program with service program QTCP/QHTMHCGI, put it
in the WEBEXE library that I set up to hold CGI executables and their data, hit
the thing with a web browser, and get "500 - CGI program failed." For every
thing that I write, type in, or compile from source members kicking around on
CDs. If I replace the program objects with precomiled ones from the redbook CD,
they work just fine. I must be missing a step, but the TCP Reference, and Cool
Title redbook aren't telling me anything different than what I'm doing.

Also, last week or thereabouts, I was discussing REXX CGI as a possibility with
someone on the list who said he used a a lot of REXX for this, and I'd like to
know how the REXX procedures were started. QCMDEXE call with STRREXPRC? I got
that to work locally just fine and typing the expected input that was to have
been passed by the http server got the expected results. Running it as a CGI
got the CGI Program Failed message.

Peter H. Coffin
phcoffin@us.ibm.com
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact