Forum Discussion
mbohre_59527
Nimbostratus
Jun 01, 2010Forward HTTP request to different pools based on URI
I need help in creating a iRule that will forward the user request to appropriate pool based on URI.
For example, we have three sites www.xyz.com, www.abc.com, and www.test.com . All three ...
hoolio
Cirrostratus
Jun 02, 2010You could also use HTTP classes for this in 9.4.0+ and avoid an iRule. Create one HTTP class per pool, customise the Host header filter to look "www.xyz.com", select the action of "send to pool" and set the corresponding pool. For default pool selection, you can add a final HTTP class with no filters enabled which selects the "default" pool. Then add the HTTP classes to the virtual server under the Resources tab.
Aaron
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