Forum Discussion
1 Reply
Sort By
Hi yuanqiang, I guess that is the FQDN of a VS. You have to attach this iRule to the VS:
when HTTP_REQUEST {
only IP 1.202.88.110 can access to /docs* uri.
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 ";) 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.