View previous topic :: View next topic |
Author |
Message |
apcx -
Joined: 09 Sep 2005 Posts: 1
|
Posted: Fri Sep 09, 2005 5:44 am Post subject: Problem running CGI scripts... with -T flag |
|
|
'ellos
When this is the first line of my cgi script: #!/Perl/bin/perl -w ...then the script runs fine.
When I add in the flag for user input taint checking, the first line of my cgi script changes to: #!/Perl/bin/perl -wT
Then when the page loads I get an "Error 500 Internal Server Error".
The cgi log of Abyss Web Server says this:
"-T" is on the #! line, it must also be used on the command line at colors.cgi line 1.
CGI: [C:\Perl\bin\perl.exe colors.cgi ] URI: /colors.cgi Broken pipe
How do I fix this?? Any help would be much appreciated. |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Sep 09, 2005 1:20 pm Post subject: Re: Problem running CGI scripts... with -T flag |
|
|
apcx,
As the error states, Perl should be run with the -T flag. So edit the declaration of the Perl interpreter in Scripting Parameters and put -T in the Arguments field. Press OK twice and restart the server.
A similar topic could be found in http://www.aprelium.com/forum/viewtopic.php?p=44518#44518 . _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|