Forum Discussion
Yung_Liu_113940
Nimbostratus
Feb 01, 2006How to direct HTTP request to a particular pool member and keep the persistence (cookie insert mode)
Hi,
I am trying to use iRule to direct http request to a particular pool member if the URI contains ip=x.x.x.x where x.x.x.x is the ip of a pool member. One of the requirement is to keep th...
unRuleY_95363
Feb 02, 2006Historic F5 Account
Do you have a cookie persist profile on the virtual server?
It would probably be best to have the cookie persist profile on the virtual server (if you don't already), and then change your rule slightly. You shouldn't need the "persist cookie insert cookiemonster" line that you currently have at all. Instead you'll want to add "persist none" in the else part of your if:
...
HTTP::uri "/$newuri"
Remove this persist command since it is already defined on the virtual
pool testpool member $myserverip 80
} else {
pool testpool
persist none
}
}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