Forum Discussion
Ben_Johnson_191
May 14, 2015Nimbostratus
Ah! I think it should be:
https://[getfield [HTTP::host]]/home
Found this on DevCentral: https://devcentral.f5.com/questions/creating-a-redirect-with-local-traffic-policies-v114
I haven't yet had a chance to try it. Pulling the host name from the original request is important because this VS will answer for three separate URLs (eg. someapp.somecorp.com, someapp.internal.abc, someapp.somecorp.local) and the LTM Policy needs to redirect to an appropriate pool based on the Host value.
I think I had used the "getfield [...]" option before, but for some reason thought I could get away with just using the HTTP::host portion, as used to work in HTTP Classes.