Forum Discussion
FSC-IT_27241
May 01, 2008Nimbostratus
Just FYI: This is what I went with, sorry for not sharing this sooner. Thanks for all your help.
when HTTP_RESPONSE {
Check if this is a redirect (30x response status)
if {[HTTP::is_redirect]}{
if {[HTTP::header value Location] contains ".mydomain.com"}{
HTTP::header replace Location [string map -nocase {"http://" "https://"} [HTTP::header value Location]]
}
}
}