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

postcd

Well-Known Member
Oct 22, 2010
721
21
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
 

quizknows

Well-Known Member
Oct 20, 2009
1,008
87
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
Hello :)

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

Disable PERL

Thank you.