Forum Discussion

Rajendran2002_1's avatar
Rajendran2002_1
Icon for Nimbostratus rankNimbostratus
Mar 05, 2015

Help on irule for V11

Iam migrating a service from v9 to v11, while migrating I getting a error on irule. I suspect some syntax mismatch when I copy a irule from v9 to v11. Kindly advice

 

below is the irule what I used. I have used xxxx to hide information.

 

when HTTP_REQUEST { if {[string tolower [HTTP::uri]] contains "/advantage" } { pool XXXX_http-pool } elseif {[matchclass [string tolower [HTTP::uri]] starts_with $::XXXXX_uri] } { pool qa-pool } elseif { [HTTP::host] equals "XXXXXX.com" } { HTTP::redirect "" } else { pool XXXXX1_http-pool } }

 

5 Replies