Forum Discussion
cgwin12
Apr 25, 2024Altostratus
Need help on i-rule to specific uri path
Hello All, I'm working on an i-rule that I need to do the following; given a set of specific source ip addresses, only allow access to specific uris of /ws/rest/external*. I set the specific...
spalande
Apr 26, 2024Nacreous
Try below
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/ws/rest/external*" {
if { [class match [IP::client_addr] equals Boomi_external] } {
pool esd-bmapi-dc1-as01-f5.lanl.gov_8077_pool
} else {
reject
}
} default {
drop
}
}
}
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