Forum Discussion
Jorge_Herran_14
Aug 12, 2015Altostratus
i finally solved just with this syntax:
when CLIENT_ACCEPTED { Save the name of the VS default pool set default_pool [LB::server pool] } when HTTP_REQUEST { Check the requested path with wildcard matching switch -glob [HTTP::path] {
"/pruebas/consulta_bancolombia*" {
/consulta_bancolombia URI
pool pool_sugar_crm_reverseproxy_80
}
"/pruebas/crm_calidad*" {
/crm_calidad URI
pool pool_sugar_crm2_reverseproxy_80
}
default {
non-/pruebas* URI
pool $default_pool
}
} }
No matter if someone know how to use the profile config to achieve the same result would be great to know.