Allim_63326
Aug 04, 2009Nimbostratus
CSS to F5 url redirect
We are migrating from CSS to F5s v10.0.0.
The CSS has two VIPs same IP and port one is a default url "/a*" and other url is "/connected window*" that goes to same server
I was reading the forum and found that I need to creat iRule for this, let me know if this is the correct translation.
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "connectedwindow"} {
pool connect_pool
}
}
is there a better way to write this or will this even work?
here is sample from CSS:
content beta.pa
vip address 1.1.1.1
add service ABCserver
protocol tcp
port 80
url "/a*"
active
content beta_conn.pa
vip address 1.1.1.1
add service ABCserver
protocol tcp
port 80
url "/connectedwindow*"
active
Thanks in advance.