Error 500 - uexec policy violation

Avatar
  • Answered
I have set a perl file to 770 permisions ,still run error 500
uexec policy violation: see suexec log for more details: /home/mobeauty/public_html/cgi-bin/test4.pl

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

Sorry for the problem with the PERL script. The 500 Internal server error may be caused by the location of perl after the shebang. The examples I have seen given previousl use this location:

#!/usr/local/bin/perl

Try correcting your script with that location and then try again.

If you have any further questions or comments, please let us know.

Regards,
Arnel C.