Daniel_104050
Aug 29, 2012Nimbostratus
Need more redirect help
Sorry for the elementary questions, but I am new to F5 and have been thrown to the wolves so to speak. I need to find out how/if this can be done and searches aren't showing me what I am looking for, at least I don't think...so here goes
I need the below redirects to work in 1 irule on one VIP. Is this possible?
when HTTP_REQUEST {
if { [HTTP::host] equals "site/a"}{
HTTP::redirect "site/sites/a"}
}
if { [HTTP::host] equals "site/b"}{
HTTP::redirect "site/sites/b"}
}