Forum Discussion
Sam_73035
Nimbostratus
Jun 05, 2009Can I use iRules to route based on the application name
Hi:
I am very new to Big-IP but would like to find out about if I can use Big-IP to support the following use cases:
If I have the following two URLs:
1) h...
JRahm
Admin
Jun 05, 2009you bet, you can use an http class profile to switch based on URI path, or you can do something like this with iRules:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/app1" } {
pool app1_pool
} elseif { [string_tolower [HTTP::uri]] starts_with "/app2" } {
pool app2_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
