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.

Is it good idea to disable perl this way for cpanel users?

Discussion in 'Security' started by postcd, Dec 7, 2015.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    620
    Likes Received:
    6
    Trophy Points:
    18
    Hello, is it good idea to disable perl this way for cpanel users?

    edit httpd.conf and comment out line:
    AddHandler cgi-script .cgi .pl

    Im thinking about this in context of people adding malicious .pl scripts into server /tmp directory.

    Thank you
     
  2. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    940
    Likes Received:
    55
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    It likely will not fix your problem. When scripts are run from /tmp they are often launched from php shells in which case Apache does not have to serve the file. The AddHandler only determines how apache handles the file if someone browses to a URL where it is hosted.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page