[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-win32-users
Subject:    RE: Perl doesn't give descriptive errors on IIS 6, only "CGI Erro
From:       magnus.hagdahl () seb ! se
Date:       2003-11-26 14:42:47
[Download RAW message or body]

Now it works like a charm!

Thanks!

Regards

Magnus

-----Original Message-----
From: Richard Morse [mailto:remorse@partners.org]
Sent: den 26 november 2003 15:38
To: magnus.hagdahl@seb.se
Cc: perl-win32-users@listserv.ActiveState.com
Subject: Re: Perl doesn't give descriptive errors on IIS 6, only "CGI
Error"


On Wednesday, November 26, 2003, at 07:53 AM, magnus.hagdahl@seb.se 
wrote:

> Hi all,
>  
> we have the above problems since we upgraded from w2k to w2003 and IIS 
> 5 to 6 respectively. In IIS 5 we created the following perl script 
> mapping "D:\Perl\bin\perl.exe -I %s %s" to have a more elaborate error 
> message sent to the client. This worked just fine.
>  
> However, this does not work for IIS 6, all we get is an "CGI Error. 
> The specified CGI application misbehaved by not returning a complete 
> set of HTTP headers"
>  
> We have set the Web Service Extension mapping for Perl in IIS 6 to 
> "C:\program files\Perl\bin\perl.exe", and the ISAPI mapping (*.pl) to 
> the samewith no result. We have also tried to tag "-I. "%s" %s" to one 
> or both of these. No results.
>  
> All perl scripts work without problems but we would like to have the 
> error messages in clear text when they occure.

Try including the following at the beginning of the program:

use CGI::Carp qw/fatalsToBrowser/;

HTH,
Ricky

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic