Error 500 with CGI and Perl

stoute

Member
Mar 17, 2014
8
0
1
Portland, OR
cPanel Access Level
Root Administrator
I'm moving a client over from his old host to our servers and I have moved over all the files (.cgi) but for each file I am now getting an error 500, when attempting to reach the page.

I've checked the error log in cpanel for the client and see:

[Mon Mar 31 18:15:05 2014] [error] [client 10.1.10.13] File does not exist: /home2/calorins/public_html/sys_cpanel, referer: /http://50.198.xxx.xxx/~calorins/

If you attempt to go to the page, it will give error 500 and display another record in the error logs. I checked to make sure the other cgi pages work from other sites and they do.
I've made sure the folders are 755 and files are 644.
I've made sure to recompile apache in easyapache with the most recently used profile.
The previous web host stated he only needed: Perl 5.3+ and CGI from anywhere... am I missing something.

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Check to make sure CGI is enabled for the account under "Privileges" via:

"WHM Home » Account Functions » Modify an Account"

Also, keep in mind that CGI and Perl files that you want publicly accessible should use 0755 permissions.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
I am happy to see the issue is now resolved. Thank you for updating us with the outcome.