Gill_32697
Sep 19, 2013Nimbostratus
redirect by pool help
url https://b-unitynet.mysite.com/Unity/Akcelerant.asmx url https://b-unitynet.mysite.com/weblet.asmx
I need to redirect to a pool otherwise defaul pool. below is what I have but does not seem to be redirecting..can you see any error in my irule.
when HTTP_REQUEST { if { ([string tolower [HTTP::host]]) contains "b-unitynet.mysite.com" } { switch -glob -- [string tolower [HTTP::uri]] { "akcelerant.asmx" { pool B-WebServices } "weblet.asmx" { pool B-WebServices } default { pool B-Unitynet} }
} }