Forum Discussion
Vish04_293402
Nimbostratus
Aug 31, 2018redirecting traffic to individual members based on condition
Http Request for Mobile will have header as “DEBUG_INDICATOR” with value “true” then request must go to In-Active member else go to Active member.
Pool 1: Primary Pool
1.1.1.1 ( Datacenter 1 is ...
Kevin_Stewart
Employee
Aug 31, 2018I'm not sure what the 'set url' and 'set vip' statements are doing here, but everything else seems reasonable.
when HTTP_REQUEST {
if { ( [HTTP::header exists DEBUG_INDICATOR] ) and ( [HTTP::header DEBUG_INDICATOR] equals "true" ) } {
pool1
} else {
pool2
}
}
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
