Here's the error I see in the logs when I attempt to open one of the
programs that use CGIDEV2:


ZSRV_MSG0109: /QSYS.LIB/MYLIB.LIB/MyProgramName is not a cgi program:
/QSYS.LIB/MYLIB.

But of course, my own CGI programs work fine, with no errors, using the same
syntax in the address bar.


Any thoughts?


I'm 99% sure I'm going to have to dig deeper into CGIDEV2 to figure this
out, but I'm posting this last error message here to try to rule out
anything else, if possible. 




-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Brad Stone
Sent: Monday, May 15, 2006 12:02 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] CGIDEV Question

Yes, if it's prompting for download it is connecting to the
CGI, but the content-type headers are incorrect.

Not sure on the config.  I always use ScriptAliasMatch like
this:

ScriptAliasMatch ^/cgi-bin/(.*)
/qsys.lib/bvstools.lib/$1.pgm 

That way url/cgi-bin/mypgm 

will map to mypgm.pgm.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.