Redirect and changing the URL that is returned to the client.
I have a need to add a virtual server that redirects all traffic to the VS to a specific URL. That is easy enough; however, I also need to mask the redirected URL so the clients don't see the secure URL they are being redirected to as this is a security risk. Can someone tell me if this is possible and if so how to accomplish this. I have tried every combination of iRules I can find in devcentral and nothing has worked. They all achieve the redirect, but nothing masks the URL for the client. We need the url to show up to the client as web.myserver.com rather than my.webserver.com
Here is the existing iRule that is redirecting the traffic today, obviously the name has been changed:
when HTTP_REQUEST { HTTP::redirect http://my.webserver.com/main/HSA-autologin.cfm?x=f3e93aa831939183f8fe837af83873828ed338d2 }
If I only needed to change the header I believe this would work but I can't get two HTTP_REQUEST statements to work sequentially and I can't use the if else statement because all traffic needs to match the redirection.
Please help if possible.
Thank you