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, 2010Hi Chris,
Can you try putting a space between [string tolower and [HTTP::uri]]? You can also change /* to the default keyword.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/start*" { pool zero-new_http-pool }
default { pool zero_http-pool }
}
}
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