http request about ip limit

Hi When the ip equal 1.202.88.110 ,it can visit the url "; ,otherwise reject. How can use irules to realize this. Thanks!

Hi yuanqiang, I guess that is the FQDN of a VS. You have to attach this iRule to the VS:

when HTTP_REQUEST {

if { ([HTTP::host] eq ":wink: and ([HTTP::uri] starts_with “/docs”) }{

if { not ([IP::client_addr] equals “1.202.88.110” ) } {

reject

}

}

}

only IP 1.202.88.110 can access to /docs* uri.