I have installed activeperl on windows 2003 with IIS6.
when i try to run a cgi file, i get the error
CGI application misbehaved by not returning a complete set of HTTP headers
Anyone has an idea?
Re: Re: Setting up Perl/CGI with Windows
Replies are listed 'Best First'.
Either you don't send a content-type, or you don't send it as the first output. Does the following code work?
use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
my $cgi = CGI->new();
print $cgi->header(), $cgi->start_html('Testpage');
I also setup perl on win2k3 and iis6 and i too get the cgi header error. i do have the content-type line as my first line after the shebang line. i have read pages and pages of information on the web. all my scripts work in a command line, but not in IE. Any ideas???