Forum Discussion
Cadu
Feb 05, 2020Nimbostratus
irule to redirect based on HTTP header
Hi guys, I am not a professional coder and Im trying to find and start to develop a irule to redirect our HTTP request to a especific pool, but cant find nothing similar to start a new one. O...
neeeewbie
Feb 06, 2020MVP
when HTTP_REQUEST {
if { [HTTP::header "Host"] contains "uat" } {
pool uat_pool
} else {
pool main_pool
}
}
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