is it something like this?
when HTTP_REQUEST {
if { [IP::addr [IP::client_addr] equals 10.0.0.0/8] } {
if { [HTTP::uri] equals "/citrix/wwl_prodweb/" } {
switch -glob [HTTP::header "User-Agent"] {
"*Firefox*" -
"*Chrome*" -
"*Opera*" -
"*safari*" {
HTTP::redirect "http://[HTTP::host]/citrix/wwl_prodwebExplicit/"
}
default {
User-Agent is not FF, Chrome, Opera, safari
Do something
}
}
} else {
URI is not equal to /citrix/wwl_prodweb/
Do something
}
} else {
IP is not in 10.0.0.0/8 subnet
Do something
}
}