Forum Discussion

Forsaken_104807's avatar
Forsaken_104807
Icon for Nimbostratus rankNimbostratus
Oct 28, 2010

Irule specifying Persistence

HI All, hoping someone could let me know the correct syntax to apply the "Universal" persistence to the below irule:

 

 

when HTTP_REQUEST { if {[HTTP::host] contains "services"} { if {([HTTP::path] equals "/")} { HTTP::redirect "/WebService" } pool Pool-set01 } }

 

 

 

This particular app is using the session ID of JSESSIONID

 

 

Any help would be awesome.

 

 

Ben

1 Reply

  • Hi Ben,

     

     

    I suggest starting with this JsessionID iRule and modify it to fit your requirements:

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/Weblogic_JSessionID_Persistence.html

     

     

    Aaron