Jace_45978
Mar 19, 2012Nimbostratus
persistence based on uri call
would like to add persistence profile if client makes call with /admin in the uri to the VS otherwise there is no persistence on the VIP.
I plan on adding a universal persistence to the VS with this following iRule can someone let me know if i am on track?
client makes call to https:///dispatch/admin/StartAdmin.html
virtual fp230 {
snat automap
pool ds-8080
destination 10.10.10.10:https
ip protocol tcp
profiles {
fp230-stg_sslprofile {
clientside
}
http {}
tcp {}
}
}
profile persist f3p_35min_persist {
defaults from source_addr
mode source addr
timeout 2100
}
thinking the irule would look like this??
when HTTP_REQUEST {
if { [URI::path] contains "/admin" } {
persist f3p_35min_persist }
}