Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: CGI Error HTTP headers of doom

by dash2 (Hermit)
on May 26, 2004 at 19:25 UTC ( #356701=note: print w/ replies, xml ) Need Help??


in reply to CGI Error HTTP headers of doom

There could be lots of things wrong. It sounds like your script is fine, but just in case it isn't (maybe some use statements are failing - they get executed before the rest of your code, as if they were wrapped in a BEGIN{} block) you could try making this your first statement:

use CGI::Carp qw(fatalsToBrowser);

This will catch any runtime errors and redirect them so the browser can see them.

However, more likely it is a configuration error. Check with a very simple test script to see if it works, e.g.

print "Content-type: text/html\n\n"; print "<html><body>OK</body></html>";

if that fails, it is an IIS config problem.

A massive flamewar beneath your chosen depth has not been shown here


Comment on Re: CGI Error HTTP headers of doom
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2014-12-21 20:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (108 votes), past polls