Forum Discussion
Kevin_Stewart
Oct 21, 2013Employee
Well then you might have two options here:
-
Find where this HTTP reference is coming from and troubleshoot the STREAM iRule. Ultimately the STREAM profile should be rewriting all HTTP references in the outbound flow.
-
Your original iRule was doing a simple redirect to the HTTPS VIP, and the HTTP::redirect command issues a 302 status code which will natively force the client to return with a GET request. Try changing the simple redirect code to look something like the following.
lang="tcl">when HTTP_REQUEST { HTTP::respond 307 Location "https://[HTTP::host][HTTP::uri]" }
A 307 status code is supposed to preserve the original request, but you may find that it doesn't work for all browsers.