Avi_009_232268
May 01, 2019Nimbostratus
URI BLOCK
i have the url abc.com and xyz.com on same VIP. I want to allow abc.com/abc but same URL /abc should blaock for all the URL in same VIP.
i have the url abc.com and xyz.com on same VIP. I want to allow abc.com/abc but same URL /abc should blaock for all the URL in same VIP.
I want to allow abc.com/abc and block URI /abc for othr URL which is on same VIP Its urgent.
Try this iRule
when HTTP_REQUEST {
if {!([HTTP::host] equals "abc.com") && ([HTTP::uri] equals "/abc")} {
reject
}
}
or this one to be more specific
when HTTP_REQUEST {
if {([HTTP::host] equals "xyz.com") && ([HTTP::uri] equals "/abc")} {
reject
}
}
when HTTP_REQUEST { if {([HTTP::host] equals "abc.com") and ([HTTP::uri] equals "/abc")}{ return } if{([HTTP::uri] "abc")} reject }
its urgent can someone help