Forum Discussion
Rhys_Davis_2151
Aug 11, 2015Nimbostratus
3 part redirect irule query. non www to www to https
Hello All
We recently moved over to F5's from another load balancer product and have been gradually moving our staging and live services over after testing has been completed. However one issue has...
Stanislas_Piro2
Aug 12, 2015Cumulonimbus
Hi,
Host header does not include scheme... remove https in your if statement.
for both HTTP and HTTPS, the event is the same (HTTP_REQUEST) : HTTPS is HTTP over SSL
the irule must be:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "sharepointsite.com" } {
HTTP::redirect "https://www.sharepointsite.com[HTTP::uri]"
}
}
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