Forum Discussion
Jorge_Herran_14
Aug 12, 2015Altostratus
I have now start irule aproximation, this is what i am doing, however it isn't working yet:
when CLIENT_ACCEPTED {
set default_pool [LB::server pool]
} when HTTP_REQUEST {
switch [string tolower [HTTP::uri]] {
"/consulta_bancolombia" {
HTTP::uri "/pruebas/consulta_bancolombia/"
pool pool_sugar_crm_reverseproxy_80
}
"/crm_calidad" {
HTTP::uri "/pruebas/crm_calidad/"
pool pool_sugar_crm2_reverseproxy_80
}
}
}
i think my problem is just something related to syntax, please make comments over my mistakes.