Forum Discussion
Oscar_Pucheta
May 31, 2019Cirrus
Hi Markie,
yes persistence can be set using an irule depending on the URL or host information. See two examples below
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
/myuri { persist source_addr }
}
}
when HTTP_REQUEST {
if { [HTTP::host] equals"www.xyz.com"} {
persist source_addr
}
}
Best Regards,
Oscar Pucheta