Forum Discussion
willetzktysthk_
Nimbostratus
Sep 13, 2017HTTPs rewrite
Hi
We have 2 apache web servers configured for http only. We have put our f5 big loadbalancer in front doing ssl with the standard redirect irule on a second VS. These 2 rules work fine apart fr...
Michael_Yates
Nimbostratus
Sep 15, 2017Sorry to hear that it did not work for you. Another option is to add the following on your HTTPS Virtual Server:
when HTTP_RESPONSE {
if { [URI::protocol [HTTP::header "Location" ]] eq "http" } {
set path [findstr [HTTP::header "Location" "//" 2]
HTTP::header replace "Location" "https://$path"
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects