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.

Internal Server Error - Perl Script / Cgi???

Discussion in 'General Discussion' started by biz4u, Sep 27, 2006.

  1. biz4u

    biz4u Registered

    Joined:
    Sep 27, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I have a perl cgi script that is for uploading file & emailing automatically.

    When i try to execute it ...i get the following error message.

    Internal Server Error
    Unable to open document (./scgi-bin/uploademail.cgi) at cpsrvd.pl line 1065
    main::dodoc_cpaneld() called at cpsrvd.pl line 527
    main::dodoc() called at cpsrvd.pl line 438



    --------------------------------------------------------------------------------

    cpsrvd/10.6.1 Server at www.mycompany.com

    Please let me know whats the problem.

    Thanks.
    biz4u
     
  2. angelina_holy

    angelina_holy Well-Known Member

    Joined:
    Aug 6, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    check the ownership and permission on the file . folder must be 755 and file must be 644 . Also check the path for the perl file is set correctly

    /usr/local/bin/perl
     
Loading...

Share This Page