Forum Discussion

Tokyo_Jihen_931's avatar
Tokyo_Jihen_931
Icon for Nimbostratus rankNimbostratus
Dec 03, 2010

iRule 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://test.big-ip.com/install/123456

 

 

http://test.big-ip.com/scripts/456788

 

 

 

I want the system when seeing the identifier (e.g. 123456, 456788) in the URL, it will use that identifier to persist my traffic to my nodes.

 

 

The identifier is always contains 6 characters and should be after the string "install/" or "scripts/"

 

 

 

Does anyone have similar environment with me? Or can provide me any iRule sample to do this?

 

 

 

 

Thanks