.pl C:\Perl\bin\perl.exe "%s" %s
This is where I would try adding the -T switch:
C:\Perl\bin\perl.exe -T "%s" %s
The down side is that you will enforce taint checking on all scripts. You might want to add a new extension .plt, which would use the perl.exe with the taint flag, its up to you how you want to work.
Hope this helps Peace, Jamie
Nancy Wickstrom wrote:
Hi,
I'm a Perl and CGI newbie trying to get a successful Perl installation on my IIS so that I can start to learn the stuff! When I try to test the server with a Perl script (see below), I get the following message:
"The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Too late for "-T" option at c:\inetpub\scripts\perltest.pl line 1."
I installed my IIS server and tested it successfully with a simple html file that I stored in C:\Inetpub\wwwroot\. And I successfully tested my perl script's syntax from the command line. I stored my test script in the C:\Inetpub\Scripts\ directory. The script is below. Can anyone tell me what could be happening to cause the CGI error message? Thank you so much!
#!C:\Perl\bin\perl.exe -wT
print "Content-type:text/html\n\n";
print "This is testing a perl script on my server.";
Nancy Wickstrom
_______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
