Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    222
    cPanel/Enkompass Access Level

    Root Administrator

    Default Perl Not working (cgi-bin)

    Hi,

    On my server Perl scripts do not work.

    I checked apache configuration, in virtualhost entry of all domains on the server, there is no ScriptAliase line

    ScriptAlias /cgi-bin/ /home/USER/public_html/cgi-bin/
    So i added this line to the the virtual host entry of the domain name got it working.

    Why none of my domains have ScriptAlias entry ?

    I verified package and it shows CGI-BIN enabled.

    When i take modify account on WHM, that page also show cgi-bin check box checked.

    Thanks,

    Yujin

  2. #2
    Registered User
    Join Date
    Dec 2006
    Posts
    3

    Default same problem here

    I have the same problem, when i try to turn on CGI for an account that did not have it activated on creation, it does not work, and there is no ScriptAlias line in the httpd.conf

    I'm using: WHM 11.2.0 cPanel 11.6.0-R15076

    Any help would be appreciated.

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    222
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I got the problem fixed, not sure how...

    I created a new account in WHM (other accounts are created by billing software, not manually).

    I don't remember i tried /scripts/upcp

    try both, it will be fixed.

  4. #4
    Registered User
    Join Date
    Dec 2006
    Posts
    3

    Default still not working

    I tried both, but still no luck. Even the new accounts I created with CGI Privilege checked off don't have CGI working.

  5. #5
    Member
    Join Date
    Mar 2003
    Posts
    222
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Try running

    /scripts/fixperl

  6. #6
    Member
    Join Date
    Mar 2003
    Posts
    427

    Default

    There is something wrong with the packages about this.

    I updatet one of the packages on the server with a new theme today.
    And all of the accounts suddenly had no CGI anymore -. the ScriptAlias
    had been removed from httpd.

    But the package has CGI.
    I tested to re edit the package but it did not help.
    I tested to modiy the account - did not help.

    New accounts with same package is created ok though.

Similar Threads & Tags
Similar threads

  1. what is /usr/bin/perl -w hnc.cgi
    By moinkhan31 in forum Security
    Replies: 9
    Last Post: 12-06-2008, 10:13 AM
  2. cgi files are only working in the cgi-bin after upgrading with easyapache3
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-19-2007, 10:11 AM
  3. cgi-bin vs. scgi-bin vs. perl
    By Boboss in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-21-2006, 12:27 PM
  4. cgi-bin / perl won't run
    By netnexi in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-15-2004, 11:12 AM
  5. Other files besides perl scripts in the cgi-bin
    By Sash in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-19-2003, 01:09 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube