Forum Discussion
GTM can do 302 redirects?
Hello Community,
We have 3 DCs (eur, us, apac) and we use GTM to GLB for different WideIPs.
We have a strange request coming from the appliaction owners of Netweaver Gateway for SAP Portal.
Normally it works like this: the client browser wants to go to - lets say - www.url.com which goes to the GTM, which, based on RTT, sends back the nearest IP address, which corrosponds for example to www.eur.url.com.
Now, www.eur.url.com is configured in the eur LTM, which answers to the request and sends immediatley back a HTTP 302 redirect tothe client for redirecting to something like www.eur.url.com/new_uri .
here comes the problem: some clients (namely mobile devices) do not handle such 302 redirects (looks like a problem with the Ajax language script) and they need to get back from the GTM, not only www.eur.url.com, but the complete URI www.eur.url.com/new_uri, so that they dont need to do any 302 redirect themselves.
is this possible with any sort of GTM iRule?
my first guess is no, because if the client browser has already asked for www.url.com, how can it go to another URL if nobody has asked him to change address destination?
i hope i made myself enough clear... :)
thanks a lot for any valuable input.
giulio faini.
- HamishCirrocumulusNot as such. GTM operates at the DNS (FQDN) level only. Anything past the first / is not relevant at the GTM level.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com