Forum Discussion
nitass
Mar 14, 2013Employee
e.g.
[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
if { [HTTP::path] eq "/" } {
HTTP::redirect "https://[HTTP::host][string map {/? /new1/new2?} [HTTP::uri]]"
}
}
}
[root@ve10:Active] config curl -Ik https://mysite.test.com/?login=12345678901234567890
HTTP/1.0 302 Found
Location: https://mysite.test.com/new1/new2?login=12345678901234567890
Server: BigIP
Connection: Keep-Alive
Content-Length: 0