Steve Markham wrote:
Whenever I try to run a perl script on my server, I keep getting "Internal
Server Error."  The error logs say "premature end of script headers."  My
httpd.conf file looks fine, the permissions on the cgi-bin directory and the
cgi file itself are fine... everything looks good... so why do I keep
getting this error?  How do I fix it?

You probably don't send the headers. Show us the beginning of the script, it should start its output with:


print "Content-type: text/html\n\n";

or similar.


__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to