Created
July 12, 2015 23:17
-
-
Save nickkuijpers/58ac5910c97a8c5debf1 to your computer and use it in GitHub Desktop.
xmlrpc.php ddos solution
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# XML-RPC DDoS PROTECTION | |
<FilesMatch "^(xmlrpc\.php)"> | |
Order Deny,Allow | |
Deny from all | |
</FilesMatch> | |
# XML-RPC DDoS & TRACKBACK/PINGBACK PROTECTION | |
# Also block Pingbacks and Trackbacks | |
<FilesMatch "^(xmlrpc\.php|wp-trackback\.php)"> | |
Order Deny,Allow | |
Deny from all | |
</FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment