Jeff_Wyant_4852
Jun 19, 2006Nimbostratus
Filter Mulitple Http Requests to Serveral Pools
I need an irule to filter traffic to send it to the correct pool (total of 3 pools) based on the URL. I have a start but need help with this irule.
when HTTP_REQUEST {
if { [HTTP::uri] contains "www.company.com" } {
pool company
}
}
when HTTP_REQUEST {
if { [HTTP::uri] contains "www.company.com/A" } {
pool company.net
}
}
when HTTP_REQUEST {
if { [HTTP::uri] contains "www.company/B" } {
pool company.com
} else {
pool company.com
}
}