Forum Discussion
Thomas_Gobet
Sep 25, 2014Nimbostratus
Hi,
You have a problem as an iRule can't have two times the same event.
Also you had problems on missing square brackets. This part should work now.when HTTP_REQUEST {
check for URL and send to pool
switch [string tolower [HTTP::host]] {
"sam.testsite99.testing2.com" {
pool sam.testsite99.testing2.com-80
}
"bob.testsite99.testing2.com" {
pool bob.testsite99.testing2.com-80
}
}
}