Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Setting up Perl/CGI with Windows

by strat (Canon)
on Nov 07, 2002 at 11:49 UTC ( #211048=note: print w/replies, xml ) Need Help??

in reply to Setting up Perl/CGI with Windows

Good tutorial, Ovid!

I'd just like to point you to 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."

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."

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://211048]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2020-09-19 00:51 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (114 votes). Check out past polls.