The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Error 500 with CGI and Perl

Discussion in 'General Discussion' started by stoute, Mar 31, 2014.

  1. stoute

    stoute Member

    Joined:
    Mar 17, 2014
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. stoute

    stoute Member

    Joined:
    Mar 17, 2014
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Portland, OR
    cPanel Access Level:
    Root Administrator
    yeah I forgot about the permissions issue on the files..
    Should have followed up, once I figured it out.

    Thanks
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page