adiezma_1656
Jan 16, 2012Nimbostratus
iRule for access to two ip addresses to a URI
Hi!
I am looking for
a way to make
a irule.
Only
these two
ip's
can access
this
path.
All other
IP addresses
must access
anywhere but
not
to the
selected
URI
.
when CLIENT_ACCEPTED {
if { [IP::client_addr] equals 192.168.1.10 } {
pool MY_POOL_A
}
elseif { [IP::client_addr] equals 192.168.1.11 } {
pool MY_POOL_A
}
}
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/abc/dfg/"} {
pool MY_POOL_A
}
else {
default
}
}
}
This rule or similar, it's might work?
Regards
A. Diezma