e.g.
[root@ve10:Active] config b virtual bar list
virtual bar {
destination 172.28.19.79:7012
ip protocol 6
rules myrule
profiles {
http {}
tcp {}
}
}
[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
if { [scan [HTTP::uri] {/AB_HTML/AB.jsp?parame1=%[^&]¶me2=%[^&]¶me3=%[^&]¶meter4=%[^&]¶meter5=%[^&]%s} v1 v2 v3 v4 v5 v6] == 5} {
HTTP::redirect "http://[HTTP::host]/AB_HTML/AB.jsp?parame1=$v1"
}
}
}
on client
curl -I "http://172.28.19.79:7012/AB_HTML/AB.jsp?parame1=abc123¶me2=xyz123¶me3=1234¶meter4=hello¶meter5=val5"
HTTP/1.0 302 Found
Location: http://172.28.19.79:7012/AB_HTML/AB.jsp?parame1=abc123
Server: BigIP
Connection: Keep-Alive
Content-Length: 0