Forum Discussion
Subhajit1107_38
Nimbostratus
Apr 11, 2019iRule to block IP and URL
Hi,
I want an iRule to block a set of IP's hitting a set of url's and log the blocking
Could you please check the below iRule and update if any error.
when HTTP_REQUEST {
set url [HTTP::host][H...
Lee_Sutcliffe
Nacreous
Apr 11, 2019The variable $url will not contain the protocol (HTTP or HTTPS)
It will contain a value such as this:
This isn’t an issue but you need to make sure you have configured your data group to use this format.
Other than that, looks ok. Just try it!
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