can you try this?
[root@ve1023:Active] config b virtual list
virtual bar {
destination 172.28.19.79:any
ip protocol 6
rules myrule
profiles {
http {}
tcp {}
}
}
virtual bar80 {
snat automap
pool foo
destination 172.28.19.79:80
ip protocol 6
profiles {
http {}
tcp {}
}
}
[root@ve1023:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
HTTP::redirect "http://[getfield [HTTP::host] ":" 1][HTTP::uri]"
}
}
[root@ve1023:Active] config curl -I http://172.28.19.79:8080/test
HTTP/1.0 302 Found
Location: http://172.28.19.79/test
Server: BigIP
Connection: Keep-Alive
Content-Length: 0