pablitop_134672
Sep 26, 2015Nimbostratus
Irule to redirect traffic based on path and uri
I have to redirect some traffic based on path and other based on uri. The irule should look something like this, but it´s not working. I should get working something like I post below. Any help?
when HTTP_REQUEST { switch -glob [string tolower [HTTP::uri]] { "/bla/blabla.gif" { pool pool-frontend } if { [HTTP::path } "/bla*" { pool pool-frontend2 } .... .... ....
Thanks in advance and regards, Pablo.