Forum Discussion
KD_48848
Nimbostratus
Oct 07, 2008Convert 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.
2 Replies
- KD_48848
Nimbostratus
Hi Aaron,
Thanks for the reply, but still no luck.
Can you just send me a link for iRule manual for version 4.x and 9.x from where i can download it.
Thanks,
KD. - hoolio
Cirrostratus
You can download manuals from AskF5.com. Here is the main 4.x page:
https://support.f5.com/kb/en-us/products/big-ip_4_x.html
From there, select your version in the upper right hand corner. The 4.x Rules are described in the Reference Guide.
Here is a link to the 4.5.10 version:
BIG-IP Reference Guide v4.5.10: iRules
https://support.f5.com/kb/en-us/products/big-ip_4_x/manuals/product/bigip4_5_10ref/BIGip_rules.html
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects