Subject: | |
From: | |
Reply To: | Born, Ken |
Date: | Thu, 20 Apr 2000 13:40:34 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi gang,
Starting out using APACHE and want to execute a PASCAL program using CGI.
I keep getting the same error message over and over..."Premature end of
script headers". My PASCAL program is as follows:
$TITLE 'Test Web Messages - Version 02.03'$
$OS 'MPE/XL'$
$NOTES OFF$
$HEAP_DISPOSE ON$
$HEAP_COMPACT ON$
PROGRAM car_messages(output);
VAR
i_text : char;
o_text : char;
BEGIN
WRITELN('THIS IS A TEST');
END.
I compiled the programmed on MPE and it runs fine. However, when I transfer
it to the cgi-bin directory and use a browser to execute it, I recevied the
Boo Boo message. This is the first time I am working with Apache and CGI's.
Where can I look at samples regarding what is needed in the HTML document
and what is needed in the MPE executable?
Any help would be appreciated...
Thanks....
|
|
|