Forum Discussion
sandiksk_35282
Altostratus
thankyou for your response , but with above irule it is throwing exception, with the if statement to check the pool member availability.
sandiksk_35282
Feb 13, 2019Altostratus
when HTTP_REQUEST { if { [HTTP::header "SOAPAction"] equals "; } { pool prod_ro } elseif { [HTTP::header "SOAPAction"] equals "; } { pool prod_ro } elseif { [HTTP::header "SOAPAction"] equals "; } { if { [active_members prod_ro] > 0 } pool prod_ro } else { pool prod_pool }
}
01070151:3: Rule :irule:7: error: [missing a script after "if"][]
with if else if , i cannot run another if condition.