System:
- cPanel 11.25.0-S45750 - WHM 11.25.0 - X 3.9
- REDHAT Enterprise 5.5 x86_64 standard
Doing the following seems gets rid of it until the next time cpanel is upgraded or until the next time apache is compiled.
Edit /var/cpanel/templates/apache2/main.default
Code:
nano /var/cpanel/templates/apache2/main.default
Delete...
Code:
[% IF file_test('f', '/usr/local/cpanel/bin/leechprotect') -%]
RewriteEngine on
RewriteMap LeechProtect prg:/usr/local/cpanel/bin/leechprotect
RewriteLock /usr/local/apache/logs/rewrite_lock
[% END -%]
Save and exit nano.
Edit /usr/local/apache/conf/httpd.conf
Code:
nano /usr/local/apache/conf/httpd.conf
Delete...
Code:
RewriteEngine on
RewriteMap LeechProtect prg:/usr/local/cpanel/bin/leechprotect
RewriteLock /usr/local/apache/logs/rewrite_lock
Save and exit nano.
Kill the leachprotect process.
Code:
kill `/sbin/pidof leechprotect`
Run /usr/local/cpanel/bin/apache_conf_distiller --update
Code:
/usr/local/cpanel/bin/apache_conf_distiller --update
Restart apache
Code:
service httpd restart