Forum Discussion
rodrigo_Benzaqu
Nimbostratus
Aug 17, 2005Help with a simple rule
Hi Guys, I need a little help to modify this rule :
load balancing rules
rule Cache_Fetch {
if (http_uri starts_with "/jm/pms" or http_uri starts_with "/cgi/pms/") {
use pool PMS_java
}
else {
if (http_uri starts_with "/jm/search") {
use pool SEARCH_java
}
else if (http_uri starts_with "/jm/" or http_uri starts_with "/jms/" or http_uri starts_with "/servlet/") {
use pool Java_Servers
}
else {
if (http_uri contains "/ml/") {
use pool SQL_Servers
}
else {
use pool static_server
}
}
}
}
I need to add :
if (http_uri starts_with "/jm/pms" or http_uri starts_with "/cgi/pms/" or http_uri ends_with "_JM") {
use pool PMS_java
}
If that possible and works ?
Thanks in advance
ROdrigo.
- iControl is our management API. This is a iRules question so you should post it over on the 4.x iRules forum to get a response from the iRules experts.
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