Ah... my CGILIB *SRVPGM (in xTools) that mimics what CGIDEV2 does always outputs
a valid HTTP head if the user did not send one themselves. CGIDEV2 does NOT do
this, but it is required under Apache. Does your erpgsdk do this or are you
actually sending the header? Perhaps the header isn't being sent??

-Bob Cozzi
RPG xTools - Enjoy programming again.

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf
Of Brad Stone
Sent: Tuesday, April 04, 2006 6:58 PM
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] Another SSI issue.

So, I've got another SSI issue.  This one SSI doesn't seem
to want to work on one V5R2 machine, but it works fine on
another V5R2 machine.  (go figure).

I searched the online PTFs and didn't find anything

/QSYS.LIB/ERPGSDK.LIB/CAT0002.PGM, referer: /e-rpg/catmain
ZSRV_MSG0107: Premature end of script headers: File name is
CAT0002.PGM, referer: /e-rpg/catmain
ZSRV_MSG0412: Unable to include "/e-rpg/cat0002?cat=100&"
in parsed file /QSYS.LIB/ERPGSDK.LIB/CATMAIN.PGM., referer:

Usually when I get this error it's because of an issue with
the HTTP headers not having 2 CRLFs, etc.  In this case
they're there for sure, and it works fine on one V5R2
machine, but not on another.

Other SSIs work fine.  It's just this one SSI, so I'm
guessing maybe it is a bug in the program as it seems it's
the only one with the issue.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2021 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.