Hello
I have installed Pillow and Sicstus 3.7.1 and tried to use the following small programm located under http://www.ifi.unizh.ch/cgi-bin/schwitter/:
main:- write('Content-type: text/html'),nl,nl, write('<HTML>'),nl, write('Hello World! It works.'), write('</HTML>'),nl.
% ?- compile('hello_world.pl'), % save_program('/home/arvo/www/cgi-bin/schwitter/hello_world',(main,halt)).
If I call
http://www.ifi.unizh.ch/cgi-bin/schwitter/hello_world
I get the following error from the server:
"Premature end of script headers: /home/arvo/www/cgi-bin/schwitter/hello_world"
Do you have any hints what the problem could be?
Thank you very much in advance Rolf
---------------------------------------
Rolf Schwitter Department of Computer Science Computational Linguistics University of Zurich Winterthurerstr. 190 CH-8057 Zurich
T: +41-1-635 43 08 F: +41-1-635 68 09 E: schwitter(a)ifi.unizh.ch W: http://www.ifi.unizh.ch/cl/schwitter