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.

Perl Scripts...

Discussion in 'General Discussion' started by MethOd63, May 12, 2008.

  1. MethOd63

    MethOd63 Active Member

    Joined:
    Aug 20, 2007
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Hello.
    On my account in cpanel server i want to run perl application.
    So i make test file with name test.pl and upload to public_html/cgi-bin directory and.......Error 500 ??

    how to make apache to work with files with .pl extension ??

    Thanks for answer
     
  2. viraj

    viraj Well-Known Member

    Joined:
    Sep 28, 2006
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    You might need 'a+x' or 'execute' permissions on the directory &/or file, both to get the Perl running.
     
  3. apscinsspl

    apscinsspl Well-Known Member

    Joined:
    Mar 15, 2008
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    16
    You need to set the permissions on the cgi-bin directory to 755 which is set by default by Cpanel.All the permissions on the .pl file should be 755.
    The 500 internal server error is mostly generated by incorrect permissions.
    If the permissions are set as specified above then check the apache error logs for more information.
     
Loading...

Share This Page