Forum Discussion
TJ_Vreugdenhil
Aug 17, 2011Cirrus
Persistance iRule
VIP = 10.7.200.21
URL = http://alerts.company.edu/
URI needs to have persistence = http://alerts.company.edu/client/*
URI no persistence = http://alerts.company.edu/csi/* ...
The_Bhattman
Aug 17, 2011Nimbostratus
Hi TJ,
The URI stopping is something that doesn't necessarily mean you are applying persistance. However, another approach is that you can setup cookie persistance in the profile. Then you can rewrite the irule to the following
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/client/*" { pool athoc_pool_1 }
default {
persist none
HTTP::redirect "http://[HTTP::host]/csi"
}
}
}
I hope this helps
Bhattman
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