Forum Discussion
Pete_73764
Nimbostratus
Jun 03, 2008Website redirect
Is it possible to have an Irule inspect the header and redirect based on url? For example a request comes in for www.orange.com on a vip and gets directed to its pool, but another request for www.gre...
Leo_Katona_5507
Nimbostratus
Jun 03, 2008If you have just a couple of pools for one virtual server, try something like this
when HTTP_REQUEST {
if {[HTTP::host] equals {www.orange.com}} {
pool orangepool
} elseif {[HTTP::host] equals {www.green.com}} {
pool greenpool
} else {
pool other_or_no_host_header_to_this_pool
}
}
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