Forum Discussion
cphillips_17663
May 02, 2011Nimbostratus
HTTP Profile not working.
Hey all , New to the discussion forums here. Not sure if this is the right group though. We currently have an F5 LTM running old 9.4 code, and we have a health monitor that does HTTP and pe...
You could use something like this (you might just be able to remove the "[HTTP::is_redirect] and " portion and test it to see if it fixes that issue:
when HTTP_RESPONSE {
if { [ HTTP::is_redirect] and [URI::protocol [HTTP::header "Location" ]] eq "http" } {
set path [findstr [HTTP::header "Location" ] "//" 2 ]
HTTP::header replace "Location" "https://$path"
}
}