Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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:
    166
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice