Hello all I'm new to the list, so... umm... hello?

Ok heres the issue that I'm having, I keep getting 'Premature end of
script headers:' errors when running any CGI::Prototype; app. Heres
what I've done.

started with test.cgi:
#!/usr/bin/perl
use base CGI::Prototype;
main->activate;

that throws the header error...
so I looked the error up on apache.org
(http://httpd.apache.org/docs/1.3/misc/FAQ-F.html#premature-script-headers)
Thinking that it's an apache issue.

thinking that I copied something incorrect I ran test.cgi in terminal
and got this output:
Content-Type: text/html; charset=ISO-8859-1

This page intentionally left blank.

humm... just as expected. So next step was to take that output and
just print it via perl:
#!/usr/bin/perl
print "Content-Type: text/html; charset=ISO-8859-1

This page intentionally left blank.";

And that works? So my question is where did I screw something up? Is
this an issue with something on my end (like permissions?) or is this
an apache setup issue?

Any pointers in the right direction would be very helpful.

benh~


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
cgi-prototype-users mailing list
cgi-prototype-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cgi-prototype-users

Reply via email to