sorry David, can you post an "hello world" cgi working?
I was using INDIGO PERL on win and that script work on that system. Francesco --- David Olbersen <[EMAIL PROTECTED]> wrote: > Francesco, > > That's not a complete CGI script -- it's missing quite a few headers. > > I'd suggest reading up on the CGI module. You can get information about it at > http://search.cpan.org. To be fair this has very little to do with apache, and quite > a bit to do > with your script. > > -------------------------- > David Olbersen > iGuard Engineer > 11415 West Bernardo Court > San Diego, CA 92127 > 1-858-676-2277 x2152 > > > > -----Original Message----- > > From: Francesco del Vecchio [mailto:[EMAIL PROTECTED] > > Sent: Friday, March 14, 2003 8:16 AM > > To: [EMAIL PROTECTED] > > Subject: apache error > > > > > > 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 > > print ("ciao\n"); > > > > tnx > > Francesco > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Web Hosting - establish your business online > > http://webhosting.yahoo.com > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]