Error 500 with CGI and Perl
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!
-
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. 0 -
yeah I forgot about the permissions issue on the files.. Should have followed up, once I figured it out. Thanks 0 -
I am happy to see the issue is now resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
3 comments