KD_48848
Oct 07, 2008Nimbostratus
Convert iRule from 9.x to 4.x
Need this on a urgent basis.
Following is the iRule that we have implemented on one of our BigIP running 9.x version:
=====================
when HTTP_REQUEST {
if { ([string tolower [HTTP::uri]] eq [ string tolower "/abc/xyz/login.do" ] ) and not ([HTTP::cookie exists "SMSESSION"]) } {
HTTP::redirect "https://thisismysite.com/pqr/login.jsp"
} else {
pool mypool.com
}
}
=====================
Need to implement the same iRule in one of other BigIP's running 4.x version
Kindly assist.
Thanks,
KD.