Andrew Derry wrote:

> Hello,
> 
>  
> 
> I’m trying to debug a Perl CGI on a server. However, when my program has
> errors, IIS only returns the bit like:
> 
> “CGI Error - The specified CGI application misbehaved by not returning a
> complete set of HTTP Headers.”
> 
>  
> 
> When I debug locally on my PC and get errors, it says the same thing,
> but it ALSO goes on to say:
> 
> “The headers it did return are…. “ and lists the errors that the CGI
> returned.
> 
>  
> 
> Someone suggested that all I need to do is browse locally on the server
> to get IIS to return the errors -- however, this is not possible in the
> setup that we have - the server has multiple IPs and is behind a load
> balancer, etc. so you can’t browse locally at all.
> 
>  
> 
> Does anyone have any idea how I can force IIS to return the headers, or
> any other way I might get the error information so I can start to figure
> out what’s going wrong with my program?
> 
>  
> 
> I have tried posting to a Microsoft IIS newsgroup with no replies.
> 
>  
> 
> Any help or suggestions would be very much appreciated.

Try adding:

use CGI::Carp qw(fatalsToBrowser);


-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:[EMAIL PROTECTED]
 (_/   /  )    // //       DBE Collectibles    Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________
Perl-Win32-Admin mailing list
Perl-Win32-Admin@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to