Forum Discussion
Tokyo_Jihen_931
Nimbostratus
Dec 03, 2010iRule for URL persistence
Hello all,
I am a newbie of iRules programming. My system is BIG-IP 9.1.2. I am trying to implement persistence using a string that appear in URL.
For example.
http:...
Tokyo_Jihen_931
Nimbostratus
Dec 08, 2010Thank you very much Aaron.
But in my enviroment, the 6 characters string is the identifier.
http://test.big-ip.com/install/123456/whateverxxxxxx
http://test.big-ip.com/scripts/456788/whateverxxxxx
It is as Mr. Chris Miller said, "if the URI contains "123456," go to server 1 and if it contains "456788," goes to server 2"
So I want to know how i can "grep" the 6 characters string from the url and then set it as "session_id" and then "persist" the connection.
I don't have any idea for the iRule Syntax for doing that, so please advise me. Thanks a lot~
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