Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    2

    Default Internal Server Error - Perl Script / Cgi???

    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. #2
    Member
    Join Date
    Aug 2006
    Posts
    113

    Default

    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

Similar Threads & Tags
Similar threads

  1. Error with cgi-bin 500 internal server error
    By approx in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 03-11-2009, 11:13 PM
  2. perl internal server error
    By brunobrown1409 in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 11-08-2006, 02:15 PM
  3. !!Help~!! 500 Internal Server Error! (Perl Script)
    By goodgbb in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-01-2006, 04:06 AM
  4. Sudden 500 Internal Server Error on a 1yo script
    By invisible in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-27-2006, 10:20 AM
  5. all cgi and perl scripts getting Internal Server Error on al
    By 1stcomsupport2 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-08-2002, 01:08 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube