For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Gary_Bristol_19's avatar
Gary_Bristol_19
Icon for Nimbostratus rankNimbostratus
Sep 16, 2015

setting 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

  • Will this help

    https://devcentral.f5.com/wiki/iRules.findstr.ashx

    for example:

    when HTTP_REQUEST { 
     set prefix [findstr [HTTP::uri] "" 1 1000] 
     if { $prefix != "" } { 
     persist uie $prefix 
     } 
    }