Yugandhar
Jul 27, 2018Nimbostratus
Reg getfield command in Redirection.
Hi
Is there any difference between the below 2 methods ?.
HTTP::redirect "https://[getfield [HTTP::host] : 1][HTTP::uri]"
HTTP::redirect "https:// [HTTP::host] [HTTP::uri]"
I get the same result when i apply either of them on a Virtual Server listening on Port 80 i.e. http://test7883.com is redirected to https://test7883.com as expected.
Is there any specific advantage of using getfield command in the redirection statement.
Thanks,
Yugandhar.