Problem running CGI scripts... with -T flag

 
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI
View previous topic :: View next topic  
Author Message
apcx
-


Joined: 09 Sep 2005
Posts: 1

PostPosted: Fri Sep 09, 2005 5:44 am    Post subject: Problem running CGI scripts... with -T flag Reply with quote

'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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Sep 09, 2005 1:20 pm    Post subject: Re: Problem running CGI scripts... with -T flag Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group