Forum Discussion
Gary_375401
Nimbostratus
Oct 25, 2018Block URLs from scraping website behind F5s
Hi,
I have no experience at all with the F5s so looking for some help.
I would like to block a couple of URLs from scraping a website behind the F5s.
2URLS I would like to block are
https://exa...
Samir_Jha_52506
Noctilucent
Oct 31, 2018You can write irule some thing like this..
-
Create Datagroup Object(String)
class HostURI { (getAppsNear)?OpenPage (getApps4DT)?OpenAgent }`
-
Add below irule.
` when HTTP_REQUEST { if {([class match [getfield [HTTP::host] "/" 5] eq HostURI]) } { drop } } Assign to VIP. Let us know if any question.
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
