Forum Discussion
Gary_Bristol_19
Nimbostratus
Sep 16, 2015setting a search string for persistance
I am needing to migrate some student information systems to the F5 but we have some very specific needs to be able to match on a string prefix for persistance. is the F5 able to do this ? thanks here is an example of what we are currently doing. content UATPORTAL1:80-79 add service Rod-80 add service Todd-80 add service Sorry
advanced-balance cookies
no persistent
string process-length 15
string prefix "fos.web.server="
protocol tcp
url "//uatportal1.ou.edu:80/*"
string range 1 to 1000
active
1 Reply
- DevBabu
Cirrus
Will this help
https://devcentral.f5.com/wiki/iRules.findstr.ashxfor example:
when HTTP_REQUEST { set prefix [findstr [HTTP::uri] "" 1 1000] if { $prefix != "" } { persist uie $prefix } }
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
