Forum Discussion
rodrigo_Benzaqu
Nimbostratus
May 13, 2005Irule from 4.6 to 9
Hi, I´m new on 9.X, can some body help me to translate this rule to 9.X ?
rule FD_Fetch {
if (http_uri starts_with "/fd/") {
use pool FD_SERVERS
}
...
JRahm
Admin
May 13, 2005class WebURLs {
"www.mercadolivre.com"
"www.mercadolivre.com.br"
}
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/fd/" } {
use pool FD_SERVERS
} elseif { [HTTP::host] equals "www.mercadolibre.com.ar" } {
use pool NC3100N
} elseif { [matchclass [HTTP::host] equals $::WebURLs] } {
use pool Netcache_3100
}
else {
use pool Mexico
}
}Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
