mfkk531_168091
Sep 25, 2016Nimbostratus
Need iRule for this requirement. Please help.
I have a irule with the logic to check for uri and then send to a pool with specific port
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri] ] {
"/service1*" {
pool p-service1
}
"/service2*" {
pool p-service2
}
and so on
I'm looking to add a sub condition under certain uri, to accept connection only from certain source IPs and drop all other IPs trying to access that uri
Thanks in advance!