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.

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:
    16
    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?
     
  2. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    18
    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