e.g.
[root@ve10:Active] config b virtual bar443 list
virtual bar443 {
destination 172.28.19.252:443
ip protocol 6
rules myrule
profiles {
clientssl {
clientside
}
http {}
tcp {}
}
}
[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
if { [HTTP::host] eq "www.test1.com" and [HTTP::uri] eq "/" } {
HTTP::redirect "https://www.test2.com"
}
}
}
[root@ve10:Active] config curl -Ik https://www.test1.com
HTTP/1.0 302 Found
Location: https://www.test2.com
Server: BigIP
Connection: Keep-Alive
Content-Length: 0