Is it possible to perform a URL rewrite with the CSS 11506? We are migrating user apps from our old environment into a new one and need to redirect the users to the new environment as apps are migrated. Both environments will be up and available for the duration of the app migration. What we would like to do is when a user types https://abc.123.xyz.com/appname that they are redirected to https://abc.123.com/appname (dropping the .123 from the URL) and rewriting the new URL in the users browser. Also, we need to continue to load balance this user traffic in both environments.
Is this possible? If so, please direct to some supporting documentation. We are running WebNS version sg0750105s on a 11506.
The CSS does not do url-rewrite.
All we can do is generate an HTTP redirect [as shown in Syed example] forcing the client to open a new connection to the new location.
If the destination ip in the redirect is the vip itself, the client will reopen a connection with the CSS again. You can then catch this traffic in a different content rule and perform loadbalancing.
ie: if you want to catch the default url "/" and redirect to "/new-site" you would create a redirect rule catching url "/" and a 2nd rule catching "/new-site/*" and loadbalance with the servers.