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

Forum Discussion

jayachandran_38's avatar
jayachandran_38
Icon for Nimbostratus rankNimbostratus
Jan 08, 2019

Irule for domain to pool member mapping

Hi please help me out in writing irule for mapping the domain when we enter the uri "/gateway" as shown https://preview.infinitiusa.com/gateway then this request should be routed to the 10.36.124.4:8087 pool member

 

1 Reply

  • You can use this code:

     

    when CLIENT_ACCEPTED { 
        set default_pool [LB::server pool]
    }
    
    when HTTP_REQUEST {
        if {[HTTP::path] equals "/gateway" } {
            pool $default_pool member 10.36.124.4 8087
        } else {
            pool $default_pool
        }
    }