Ajmal_2608
Jan 11, 2013Nimbostratus
Selective pool member based on uri
Hi,
Some of my webservers are not responding and we take them out from pool at times. The task is to have something like:
https://[HTTP::host]/one
select pool member 1 & at the same time it should change the uri from /one to /web/main/page
https://[HTTP::host]/two
select pool member 1 & at the same time it should change the uri from /one to /web/main/page
I tried using find classs as listed below but not very sure hot to select pool member based on uri
set uri [findclass [HTTP::path] mainredirect " "]
if {$line ne ""}{
HTTP::uri $uri
}
mainredirect is a datagroup of string type
"/one /web/main/page"
"/two /web/main/page"
H/W is LTM 1600 running 10.2
Also I am very bad in GUI and this box can only be accessed via GUI, so not very sure whether the class created should be a data group or something else.
Please suggest