Forum Discussion
Simon_Blakely
Employee
Apr 02, 2020Re: Allow access to multiple URI based on IP in data group only, while allow others full access
You need to move the drop into the if
when HTTP_REQUEST {
if [class match [IP::client_addr] equals DG1-BLOCKED-SUBNETS] {
if { not ([HTTP::uri] equals DG2-ALLOWED-URIs]) } {
drop
}
}
}1 Reply
- ant77
Cirrostratus
Thank you S Blakely. I will try this and let you know..
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