Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Clear all filters
Answers

F5 iRule with URI and Data Group

Hi Support, I need your help to set iRule that will check the split the traffic via URI string between our OnPrem and AWS appliction

the aws_app_pool point to AWS ELB via FQDN to

Example :

when HTTP_REQUEST { if { [string tolower [HTTP::uri] ] contains "DGLIST" } { pool app_pool" } else { pool aws_app_pool } }

This is OK ?

Thanks for the help!

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Something like this:

when HTTP_REQUEST {
    if { [class match [string tolower [HTTP::uri] ] contains DGLIST ] } { 
        pool app_pool
    }
    else {
        pool aws_app_pool
    }
}
0
Comments on this Answer
Comment made 18-Feb-2018 by maayan yosef 2

Thanks i'll check it

0