crocketv_18020
Feb 16, 2009Nimbostratus
Redirect and preserve HTTP referrer
Hello.. need some help with the following. You may see this question in a different thread but I was asked to post as a seperate question. thanks.
As prelude to upcoming installation I'm being asked to verify this as it looks like a requirement of the application mechanics. The following is really a two part question 1) verify iRule functionallity 2) the question regarding http REFERRER
Need to do a HTTP to HTTPS Redirect and append "/xlWebApp/" to the URL.
- Client incoming request = HTTP://123.123.org
- F5 will redirect these requests to http"S"://123.123.org/xlWebApp/
A coleuge has suggested the following iRule to do this
when HTTP_REQUEST {
if {[HTTP::host] contains "123.123.org" } {
HTTP::redirect "https://123.123.org/xlWebApp/"
The second part of the question is to ensure that the original HTTP REFERRER value is preserved and does not change.
Thanks much for your help!