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 ...
Chris_Gordon_14
Nimbostratus
Jun 02, 2010Hey guys, I'm trying to do something very similar. I saw your iRule example, tried it, but I'm getting a sysntax error:
line 2: [wrong args] [string tolower[HTTP::uri]]
Here's my rule:
when HTTP_REQUEST {
switch -glob [string tolower[HTTP::uri]] {
"/start*" { pool zero-new_http-pool }
"/*" { pool zero_http-pool }
}
}
Any ideas?
Thanks!
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