Forum Discussion
engineer_88_203
Nimbostratus
Oct 05, 2015Cookie Persistence by URI Question
Hi,
I have multiple (custom) applications being served through one virtual server with a relatively simple iRule that sets the destination pool based upon the URI (e.g. site.com/uri1 or site.com/ur...
engineer_88_203
Nimbostratus
Oct 05, 2015when HTTP_REQUEST {
set dest_pool ""
set use_ssl 1
switch -glob [HTTP::uri] {
"/app1*"
{
set dest_pool app1_pool
set use_ssl 1
set app_url_rewrite 1
}
"/app2*"
{
persist none
set dest_pool app2_pool
set use_ssl 1
set app_url_rewrite 1
}
Edited: updated formatting to better show the iRule... sorry, I couldn't edit my original post.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
