Hello Aron,
Thanks Alot it worked.
One more help...i am facing issue with converting one more iRule.Please help me in converting this as well...
if (client_addr == 10.1.8.2 netmask 255.255.255.255) {
if (http_uri contains one of MemberEligibility) {
use pool POOL_239_2
}
else {
use pool POOL_239_1
}
}
else if (client_addr == 10.1.6.2 netmask 255.255.255.255) {
if (http_uri contains one of MemberEligibility) {
use pool POOL_239_2
}
else {
use pool POOL_239_1
}
}
else if (client_addr == 10.2.8.2 netmask 255.255.255.255) {
if (http_uri contains one of MemberEligibility) {
use pool POOL_239_2
}
else {
use pool POOL_239_1
}
}
else if (client_addr == 10.2.6.2 netmask 255.255.255.255) {
if (http_uri contains one of MemberEligibility) {
use pool POOL_239_2
}
else {
use pool POOL_239_1
}
}
else if (client_addr == 10.2.8.5 netmask 255.255.255.255) {
if (http_uri contains one of MemberEligibility) {
use pool POOL_239_2
}
else {
use pool POOL_239_1
}
}
else if (client_addr == 10.2.8.4 netmask 255.255.255.255) {
use pool POOL_239_ALL
}
else if (client_addr == 10.2.6.5 netmask 255.255.255.255) {
use pool POOL_239_ALL
}
else if (client_addr == 10.2.3.5 netmask 255.255.255.255) {
use pool POOL_239_3
log "IVR request made."
}
else {
log "Using generic rule (IT2). Unexpected IP: ${client_addr}"
if (http_method == "GET") {
log "GET method used."
}
else if (http_method == "POST") {
log "POST method used."
}
else {
log "Unexpected method used."
}
if (http_uri contains one of MemberEligibility) {
use pool POOL_239_2
log "Eligibility request made."
}
else if (http_uri ends_with one of images) {
use pool POOL_239_ALL
log "Image request made."
}
else {
use pool POOL_239_1
log "Generic request made."
}
}