We have hacking attempts on some of our websites where hacker placed Perl scripts. We have tried all ways to disable perl on those accounts through WHM but still perl scripts were running. Now we have disabled cgi options directlythrough apache httpd.conf file by commenting out the line below for each account.
#ScriptAlias /cgi-bin/ /home/-----/public_html/cgi-bin/
Question is why cpanel is unable to disable cgi access for accounts even we have disabled it for specific websites from WHM. Also how we can preserve httpd.conf so cpanel updates could not change the settings.
#ScriptAlias /cgi-bin/ /home/-----/public_html/cgi-bin/
Question is why cpanel is unable to disable cgi access for accounts even we have disabled it for specific websites from WHM. Also how we can preserve httpd.conf so cpanel updates could not change the settings.