Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

Avi_009_232268's avatar
Avi_009_232268
Icon for Nimbostratus rankNimbostratus
May 01, 2019

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.

 

4 Replies

  • 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 }