Forum Discussion
Deepak_Habbu_23
Nimbostratus
Oct 27, 2015Adding conditions to the currently running irule
Hello Team,
we want to add two more lines in currently running I rule. please help me to do that and let me know how and where we are going to add that
Currently running I rule:
when HTTP_...
Michael_Jenkins
Cirrostratus
Oct 27, 2015You can just add them to the switch before
default. Don't forget to specify the right pool names though.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/internal/connexion/service/v1" {
HTTP::uri "/fft/proxy/connexion"
pool flex-monolith
}
"/internal/manager/service/v1" {
HTTP::uri "/fft/proxy/manager"
pool flex-monolith
}
"/medq_esb/proxy_services/mmodal_voice_proxy_service*" {
HTTP::uri "/fft/proxy/voice"
pool flex-monolith
}
"/fft/proxy/voice" {
pool flex-monolith
}
"/fft/rest" {
pool flex-monolith
}
"/medq_esb/proxy_services/internal/medq_rule_engine_internal_proxy_service" {
HTTP::uri "/rule-engine/services"
pool POOL_NAME
}
"/rule-engine/services" {
pool POOL_NAME
}
default {
pool fft-osb
}
}
}
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