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:
    648
    Likes Received:
    11
    Trophy Points:
    68
    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:
    980
    Likes Received:
    73
    Trophy Points:
    78
    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:
    36,323
    Likes Received:
    1,209
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can also find some additional discussion of this topic on the following thread:

    Disable PERL

    Thank you.
     
Loading...

Share This Page