Forum Discussion
Nov 17, 2010
matchclass, uri routing, and cookie persist & snat irule
Hey guys and gals, it's been a bit, I hope all is well.
Please review the below scenerio and let me know if i'm missing something, or if you would do anything differently..
I worked up the b...
Brian_Mayer_841
Jan 27, 2012Nimbostratus
So I took a first stab at this.. how does this look to you guys? I opted for now class match for now... please provide your input!
Thanks
B
when HTTP_REQUEST {
if {[HTTP::uri] starts_with "/unica"} {
persist uie [string tolower [HTTP::cookie "UMPSESSIONID"]] 3600
pool Unica_Platform_Test
} elseif {[HTTP::uri] starts_with "/plan"} {
persist uie [string tolower [HTTP::cookie "PLANJSESSIONID"]] 3600
pool Unica_Plan_Test
} elseif {[HTTP::uri] starts_with "/campaign"} {
persist uie [string tolower [HTTP::cookie "CAMPAIGNSESSIONID"]] 3600
pool Unica_Campaign_Test
} elseif {[HTTP::uri] starts_with "/dashboard"} {
persist uie [string tolower [HTTP::cookie "JSESSIONID"]] 3600
pool Unica_Campaign_Test
}
else {
persist uie [string tolower [HTTP::cookie "UMPSESSIONID"]] 3600
pool Unica_Platform_Test
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects