Forum Discussion
Stanislas_Piro2
Jun 28, 2017Cumulonimbus
Hi,
you can use this irule:
when HTTP_REQUEST {
switch [string tolower [URI::query [HTTP::uri] memid]] {
"1" { node 1.1.1.1] }
"2" { node 2.2.2.2] }
"3" { node 3.3.3.3] }
"4" { node 4.4.4.4] }
"5" { node 5.5.5.5] }
default { pool p80_pool }
}
log local0. "Sending HTTP path [HTTP::query] to node [LB::server addr]"
}