Shavat_Zalpuri
Jan 26, 2021Nimbostratus
iRule not working
Hi All,
I have a scenerio where i have a vip on which we have applied iRule stating that if url mention "abc-test" it should hit to different server and if url mentions "abc-dr" it should hit to different server.
Is there any issue with iRule ?
irule which we are using :
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"abc-test*" { pool abc-test }
"abc-dr*" { pool abc-dr }
}
}