Thieß_Rathjen_1
Oct 12, 2006Nimbostratus
redirect problem with https
Hi there,
i have a problem with the following iRule (i am quite new with iRules):
when HTTP_REQUEST {
evaluate characters as lower case Pass characters back to server in lower case
set my_uri [string tolower [HTTP::uri]]
if { $my_uri starts_with "/konto" } {
redirect to konto on matching URI
HTTP::redirect "https://[HTTP::host]/de/konto/"
log redirect
log local0. "Host is [HTTP::host], URI is [HTTP::uri]. Redirecting to konto"
}
}
If someone types http://www.mydomain.com/konto redirect works fine, but the URL ist https://www.mydomain.com/konto it does not (Page not found). Can someone tell me why? Does someone have a better solution? BTW: SSL is terminated on the LTM.
Thanks, Thiess.