Forum Discussion
dgytech
Altostratus
Dec 15, 2015iRule to block URI /xmlrpc.php
I want to throw a 404 anytime URI /xmlrpc.php is encountered. This is to block brute force attacks via XML-RPC on my WordPress sites. All I get is a white screen with this rule. I tried in IE/Chro...
Kai_Wilke
MVP
Dec 15, 2015Hi DGYarrington,
try this rule...
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/xmlrpc.php" } {
HTTP::respond 404 content "Not Found" "Connection" "close"
}
}
Cheers, Kai
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects