------8<---------
I have a perl script and I would like to run it on IIS6 under win2003
server
standard edition, I got this error message, "The specified CGI
application
misbehaved by not returning a complete set of HTTP headers".

I ran this script on IIS5.1 under windows XP, the script runs file.

I already add the script with "print "Content-Type: text/html\n\n\n";",
but I
still got the same error message on IIS6.

Is there anyone in the list ever face this kind of problem and how to
solve it?
Please help me.

I am looking forward to a favorable reply from you. Thank you.
------8<---------

It's preferrable to use the module CGI rather than printing out the
content type. Usage of Carp in particular will tell you where your
script is going wrong by putting fatals to your browser:-

use CGI qw(:standard :cgi-lib);
use CGI::Carp qw(fatalsToBrowser);

Hopefully you've executed your script from the command line to see if
there are any errors.

I'm of the impression that your problem is security settings or
permissions since youve migrated to IIS6. If permissions are a problem
then you will need to change IIS6 so that the script runs under an
account that can execute perl. Recommend you do some googling . . .

HTH,
Just in
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to