Forum Discussion
Kevin_Stewart
Nov 11, 2013Employee
We'll have to assume then that you're running a 9.x F5 version. The class command was introduced in v10.0.
So try this:
when HTTP_REQUEST {
if { ( [HTTP::uri] contains "/abc/xyzServlet" ) and not ( [matchclass [IP::client_addr] equals AddressAllowedPool ] ) } {
reject
} else {
pool Pool_servers
}
}