BKA_201457
Feb 12, 2016Nimbostratus
Redirect / but send to pool if /abc/123.aspx in URL
Still trying to figure out iRules. I understand the basics, but not the more complicated iRules. Here's what I have been tasked with. If a client connects to a site odi.domain.com, it needs to redirect to however, when the user clicks a link on www.domain.com it sends them to odi.domain.com/abc/123/aspx. So, the traffic would hit the same VIP where its being redirected to but needs to be sent to a pool instead of being redirected to www.domain.com.
It needs to be redirected at the root "/", but needs to be sent to a pool if /abc/123.aspx is requested from the VIP.