Forum Discussion
Michael_Yates
Jul 18, 2012Nimbostratus
Hi Matt,
I am guessing that you are trying to do something like this.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/test[a,c,e]" { HTTP::redirect "http://www.google.com" }
"/test[b,d,f]" { HTTP::redirect "http://www.yahoo.com" }
}
}
The Virtual Server IP Address or the application FQDN that will get you to the Virtual Server + /test and the letter will give you the varying results.
Hope this helps.