Forum Discussion
Thiyagu_343098
Nimbostratus
May 17, 2018irule to drop a the traffic matching the specific URI
Hello ALL,
I'm working on a task to implement a solution on LB for dropping the packet on LB to a VIP with a specif URI.
For example http://10.10.10.10/W
/W needs to be dropped on LB and t...
youssef1
Cumulonimbus
May 17, 2018Hi,
I typical path block would look something like the following ( Expanding this to include different URIs using the switch command):
when HTTP_REQUEST {
switch [string tolower [HTTP::path]] {
"/path1" -
"/path2" -
"/path3" -
"/w" { drop }
}
}
Source: https://devcentral.f5.com/questions/how-to-block-a-specific-url
Let me now if you need additional information...
Regards,
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