Very old F5 redirect not pushing all of URL tags

Hi all:

I am working on a VERY old F5 BigIP using Kernel 4.5.14 and need to setup a temporary redirect to a new URL while we work through getting our customers moved to the new URL. The problem we are facing is that the standard redirect is working fine, but it is not allowing any parameters to be pushed through the URL. It look like the redirect is converting the new information in the URL to a single string instead of parameters for the application to pick up. This is resulting in a partially formed webpage.

We are using the following rule to accomplish the redirect: if (http_host == “mysite.com”) { redirect to “https://mysitenew.com/%u” } else { discard }

We also have the “Rewrite Redirects” option set to “ALL” to allow it to redirect without changing the header type.

Can’t say I remember a ton from the 4.x days, but TCL would dictate a dollar sign for variables (ex. $u)