Hello,
I had to create this on a test F5 which is running version 9.4.6 before performing in production. How do I convert the iRule and Data Group from the version 11 format provided above to the version 9.4.6? I noticed that the "class match" was not available on version 9 and we believe that we have to use "matchclass" instead but we recieved the below error.
Error: "line 3: [wrong args] [matchclass -value [string tolower [HTTP::uri]] starts_with dotNet-test]"
Any help would be appreciated.
Previous irule: when HTTP_REQUEST { if { ( [string tolower [HTTP::host]] equals "hostname.com" ) and ( [class match [string tolower [HTTP::uri]] starts_with my_datagroup] ) } { HTTP::redirect "http://[class match -value [string tolower [HTTP::uri]] starts_with my_datagroup][HTTP::uri]" }