Forum Discussion

Gustavo_Lazarte's avatar
Gustavo_Lazarte
Icon for Nimbostratus rankNimbostratus
Sep 21, 2005

Not sending traffic to first pool

Hello,

 

we just moved from 4.5 and this iRule is not sending any traffic to the edge-fx pool. I tested this iRule with other servers traffic and it is not sending any traffic to the first pool in this iRule,

 

Any ideas?

 

thanks

 

 

when HTTP_REQUEST {

 

if {[HTTP::uri] contains "www.website.com" or [HTTP::uri] contains "XX.XX.XX.XX"}{

 

if {[HTTP::uri] ends_with ".jpg" or [HTTP::uri] ends_with ".gif" or [HTTP::uri] ends_with ".JPG" or [HTTP::uri] ends_with ".GIF"}{

 

pool edge-fx

 

} else {

 

pool web_pool

 

}

 

}

 

}