Subject: | Bad header |
Apache: 2.0.52
mod_perl: 1.999.21
perl: 5.8.6
OS: Fedora Core 3
I'm getting bad header error from CGI::Prototype. The exact error is:
malformed header from script. Bad header=<!DOCTYPE html: index.pl, referer: http://localhost/perl/email/
/perl/email/index.pl did not send an HTTP header
I have self.CGI.header in my wrapper.tt. Also I mosty get the error after I have submited a page.
My mod_perl setup looks like:
Perlrequire "conf/startup.pl"
<Directory /data/web/perl>
AddHandler perl-script .pl
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
</Directory>