Skip to content

CGIwithR->premature end?

1 message · Kurt Sys

#
Hello,


I try to use CGIwithR on Debian, apache web server. For one reason or
another, I get error messages such as (trying trivial.html/trivial.R),
that's when I look in the server log-files:

Mon Aug 11 16:07:17 2003] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /usr/var/cgi-bin/R.cgi


As far as I know, the main problem with such errors is the first
line. Well, I copied the file (which comes with the package) and
didn't change the first line, so it's still

#! /bin/sh

What can be the reason for this error?

tnx,
Kurt.