From: benh <ben...@gm...> - 2005-12-20 08:39:57
|
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=3DISO-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=3DISO-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~ |