Francesco del Vecchio wrote: > I'm new to apache and linux. > > I'm trying to run the "Hello World" cgi that works perfectly from terminal but via > WebServer I > obtain this error: > > [Fri Mar 14 17:03:11 2003] [error] [client 127.0.0.1] Premature end of script > headers: hello.pl > > Do you have any idea about it? > > the source is the following > > #!/usr/bin/perl -w
The error message indicates that the problem occurs right here. This looks good to me, though. It is pretty standard for perl scripts. Are you running on Windows? The ActiveState distribution ignores the path information in the header line, but Apache servers may not. Is there a usr/bin/perl executable on the system? Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]