http://www.perlmonks.org?node_id=375171


in reply to Re: Re: Setting up Perl/CGI with Windows
in thread Setting up Perl/CGI with Windows

Hi I just installed perl on win 2003 server, with IIS6. Do I need to install Apache too?
Secondly, when I run the test.cgi file, it gives me this error:
CGI Error The specified CGI application misbehaved by not returning a complete s +et of HTTP headers.
Can you help me? Thanks
Dzigner http://www.des-us.com http://freehost14.websamba.com/netdzigns

Replies are listed 'Best First'.
Re^4: Setting up Perl/CGI with Windows
by Ovid (Cardinal) on Jul 18, 2004 at 02:50 UTC

    This thread is so terribly old that I would suggest going to Seekers of Perl Wisdom and asking your question there as you're more likely to get useful replies.

    As for your question, no, you don't need to install Apache if you have IIS6 (whether or not one would prefer Apache is a separate question.) As for your error message, I can't say what's wrong. It seems like you're probably just printing the body of your document without printing any headers, but it's tough to say without seeing the code (or knowing your IIS configuration.) You can read my CGI course (link below) for more information or just just post to Seekers and see if someone there can help you. I've actually not used Windows for a couple of years so I'm hard-pressed to help :)

    Cheers,
    Ovid

    New address of my CGI Course.