Jason Damisch wrote: > > Well, I am making progress but. > > In my hello world script, when I set the first > line to this > > #! /var/www/cgi-bin/gforth > > I get this error message > > Premature end of script headers: hello.f
Well, if I google for that, the first hit <http://htmlfixit.com/cgi-tutes/tutorial_Common_Web_dev_error_messages_and_what_they_mean.php> explains this. Apparently you need to put .( Content-type: text/html) cr cr first thing in your script (or another appropriate content-type). > but when I set first line to > > #!/var/www/cgi-bin/gforth > > Then I get the following error > > in file included from *the terminal*:0 > hello.f:1: Undefined word > #!/var/www/cgi-bin/gforth > ^^^^^^^^^^^^^^^^^^^^^^^^^ > Backtrace: > $B708ADCC throw > $B7096828 no.extensions > > Leaving a space there is what I was told to do. And that's the right thing to do. > But for some reason the space is throwing the > interpreter off that is reading the file first, > ( the one that is not gforth ) At least according to the web page above you are misinterpreting the output. Your script ran through fine, it just did not produce the right output; the error message is coming from the Web server (which interprets the output of your script), not from the OS kernel (which interprets the "#!" line). - anton --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
