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!

cgi & perl problem

Discussion in 'General Discussion' started by shann, Apr 15, 2006.

  1. shann

    shann Well-Known Member

    Joined:
    Jul 5, 2002
    Messages:
    366
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Website Owner
    Hi,

    One of our servers when we run .cgi or .pl file it doesn't execute, but it prompting to download. How can I fix it?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    168
    Hello,

    Check /usr/local/apache/conf/httpd.conf

    for

    AddHandler cgi-script .cgi .pl

    Make sure that .cgi and .pl scripts are listed within the DirectoryIndex config too.
     
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