In this topic, we would like to provide example IRULES for function F5 LTM that check HTTP uri and select pool, This solution help you to manage HTTP Traffic and forward traffic to pools

In this example IRULES below, when users request with www.test.com/example1234, F5 detect HTTP uri = example1234 that match condition “/example*” and F5 forward traffic to pool example-pool

when HTTP_REQUEST {
  switch -glob [HTTP::uri] {
    “/example*” {
      pool example-pool
    }
}

 115 total views,  2 views today

Related Posts

  • I would like to provide F5 iRule that check HTTP host and uri for forward to select pool, So i think some use case or application service requirement we have to use solution iRules to check condition HTTP header for forward to select pool (Servers) when HTTP_REQUEST {set httphost [string…
    Tags: pool, http, uri, forward, irules, check, condition, ltm
  • In this topic we would like to provide solution iRules check condition that match with HTTP referrer and redirect traffic, in case not match any thing F5 will action forward traffic to specific pool Example Diagram F5 iRules check HTTP referrer and redirect traffic iRules code when HTTP_REQUEST {if {…
    Tags: http, traffic, pool, match, irules, check, forward, request
  • In this topic, we would like to provide example IRULES for function F5 GTM/LTM that check domain and select pool, This solution help you for scenario F5 implement front of DNS server when DNS_REQUEST {if {[DNS::question name] contains "example.com" } {pool Poolname}
    Tags: irules, check, pool, selected, help, pools, solution, select, function, example
  • In this topic about solution F5 using iRules to check source client IP address from HTTP header x-forward-for and f5 query IP address from x-forward-for to geo-database for check country name, In case match with blacklist country, F5 action drop packet from client Step1: Diagram Traffic flow for this case…
    Tags: irules, check, match, traffic, ltm

Categories: