How to protect Apache web server(w/ cPanel/DirectAdmin) from XMLRPC attacks
how to use this method to protect all the websites on an Apache web server.
On both cPanel and DirectAdmin servers running Apache, the file that we will use is /home/.htaccess Edit or create this file and add the blocking rule:
# content of the file /home/.htaccess
<Files "xmlrpc.php">
Require all denied
</Files>
