CGIDEV2 (unlike RPG xTools' CGILIB) does not send a default content-type HTTP
header to the browser. Whereas the old/classic HTTP server was more forgiving,
Apache is not. I suspect you were running this code on the old CERN/Classic
service and are now trying to get it to work on Apache.



-Bob Cozzi
www.RPGxTools.com
RPG xTools - Enjoy programming again.

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf
Of Shannon ODonnell
Sent: Sunday, May 14, 2006 12:25 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] CGIDEV Question

Hello,

 

I am working with some old code that was created for CGIDEV2.  The cgi
programs were restored to a new iSeries from one on which they previously
worked. 

 

On the new system, when I attempt to open one of the /cgi-bin/MYPGM.PGM 's
my browser does not know what to do with it and tries to save it to my hard
drive instead of opening it.  It's like it must be missing the content-type
value in the HTML.

 

Now, it's been a long time since I played around with CGIDEV2, but it seems
to me that I remember you had to have some environment things set up for it,
or maybe a subsystem running for it?,  something in the background. Maybe it
was just as simple as porting the CGIDEV2 service programs?   

 

Anyway, I'm hoping that someone out there who is using it now or has used it
in the past will remember off the top of their heads some of the basics in
setting up the CGIDEV2 environment.  Obviously I can download and install it
all on the new box, and I will if I need to, but I was hoping someone could
save me from having to do that.

 

 

Thanks In Advance!

 

Shannon O'Donnell

 


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.