http://qs321.pair.com?node_id=211048


in reply to Setting up Perl/CGI with Windows

Good tutorial, Ovid!

I'd just like to point you to http://www.apachefriends.org/index-en.html where you can download WAMPP, a package of Apache, MySql, Perl and PHP and sometimes PhpMyAdmin, OpenSSL, mod_perl and much more for Win32. The installation process is well documented, and both in english or german. There also exists LAMPP, about the same for Linux. But I haven't yet tried it.

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"

Replies are listed 'Best First'.
Re: Re: Setting up Perl/CGI with Windows
by Anonymous Monk on Mar 10, 2004 at 14:09 UTC
    Hello 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?
      Either you don't send a content-type, or you don't send it as the first output. Does the following code work?
      #! /usr/bin/perl use warnings; use strict; use CGI; use CGI::Carp qw(fatalsToBrowser warningsToBrowser); my $cgi = CGI->new(); print $cgi->header(), $cgi->start_html('Testpage'); print $cgi->h1('Testpage'); print $cgi->end_html();

      Best regards,
      perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"

      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???