in reply to ModPerl IIS
IIS displays 'CGI Program misbehaved' as error.
You said you were using mod_perl, but it seems you are actually using CGI.
A quick google search reveals that the full error message was probably
The specified CGI program misbehaved by not returning a complete set of HTTP headers
The error is that you didn't return a proper CGI response. You should use the CGI module and use its header method to create the proper headers.
If you are doing that, it could be that some error (possibly a compile-time error) occurred before your call to header had a chance to execute. If so, this should be logged in your web server's error log. If not, it's a question of configuring your web server (which has nothing to do with Perl). Alternative, you may be able to redirect error messages to the screen using CGI::Carp.
use CGI::Carp qw( fatalsToBrowser );
PS — mod_perl is a plugin for Apache. If you're using IIS, you're not using mod_perl.
PPS — That language is named "Perl", not "PERL".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ModPerl IIS
by Kargil Jay (Initiate) on Feb 24, 2011 at 21:52 UTC | |
by furry_marmot (Pilgrim) on Feb 25, 2011 at 05:12 UTC | |
by ikegami (Patriarch) on Feb 24, 2011 at 21:56 UTC | |
by Kargil Jay (Initiate) on Feb 25, 2011 at 21:09 UTC | |
by ikegami (Patriarch) on Feb 26, 2011 at 00:42 UTC |