Error 500 Perl ( suEXEC policy violation in PHP script)

Avatar
  • Answered
Hello I am Brazilian and I do not speak English so I am using Google translator to communicate with you, so forgive me for the lack of agreement.

I'm trying to run a simple perl file in the account of a client of mine is actually just a file tests, however I am not able, I get the error 500:

Error 500 - Internal Server Error

An error was encountered while processing your request. Typically this is a temporary condition. Please contact the owner web site for further assistance.

By analyzing the log Cpanel get the error:

suEXEC policy violation in PHP script

All permissions are already as 775.

URL:

http://bhjetaviacao.com.br/login.cgi
http://bhjetaviacao.com.br/cgi-bin/login.cgi
http://bhjetaviacao.com.br/cgi-bin/login.pl

Code files:

#!/usr/bin/perl
print "content-type: text/html \n\n";
print "Hello, PERL!";
Avatar
Scott
Hello,

Thank you for your question on the syEXEC policy violation. This is largely due to permissions. Check your folders and ensure they are set to 755 with the perl files themselves being 644. If you find that your permissions are correct, you may want to contact your hosting support to see what they can find, since we cannot see that as you are not one of our customer.

Kindest Regards,
Scott M