I have the following rule on my F5:
elseif { [HTTP::uri] contains “/xyz”}{
HTTP::redirect https://newsite.domain.com/xyz/
}
The problem is that when the F5 sees “xyz” is does the redirection properly, but text after the xyz gets dropped.
Example:
https://oldurl.domain.com/xyz/1223/789/ gets redirected to https://newurl.domain.com/xyz
How do I keep all the url and just redirect to a new host?