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?
another way to do it: use CGI; my $cgi = new CGI; and in your script before you output anything else do print $cgi->header; best regards Greger > > > ~Steve > > -- > Reporting bugs: http://perl.apache.org/bugs/ > Mail list info: http://perl.apache.org/maillist/modperl.html -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html