That steep learning curve just got steeper...
Have created my Apache served instance and it serves static pages
fine, but when calling a CGI program I get the following in the log
file
ZSRV_MSG0107: Premature end of script headers: File name is
PRDJOUR.PGM
I had shifted my HTML to the IFS and verified that it had the
necessary blank lines after the headers (seemed to have been a
problem mentioned often on the forum), changed my RPG to use
gethtmlif and confirmed that it still works from the 'original' HTTP
server. HTML looks like
/$top **** START HTML
Content-type: text/html
<html>
<head><title>Production Journalière</title></head>
<body>
<div><Img Src="/cgiprd/XXXXX.GIF"> Production Journalière: /%
CHGDAT%/</div>
<br>
/$none **** NO RECORDS IN FILE
<div>Aucun enregistrement a trouvé</div>
/$tabstr **** START TABLE (SOME RECORDS IN FILE)
<table border=1 cellspacing=5>
<th>Code</th>
<th>Désignation</th>
<th>QTEPCK</th>
<th>MTTRQT</th>
/$tabrow **** TABLE ROW (LIKE A SUBFILE LINE)
<tr><td>/%Code%/</td>
<td>/%Desc%/</td>
<td align=right>/%QTEPCK01%/</td>
<td align=right>/%MTTRQT01%/</td>
</td></tr>
/$tabend **** END TABLE (SOME RECORDS IN FILE)
</table>
/$end **** END HTML
<br><br>
</body></html>
My config file has been amended to allow the running of CGI. I used
the CGIDEV2/SETCGLIB to add the appropriate directives. Otherwise it
is unchanged since message 6860.
Anyone have any ideas? Is there somewhere else I should be looking
for details of errors?
Thanks Andrew
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/wbFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Easy400Group/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/