Forum Discussion
FSC-IT_27241
Nimbostratus
Apr 21, 2008dazed and confused irule newbie http to https
I have a site that I am using the profile to rewrite all to map http to https. The trouble is any url redirects the site has to other sites it is also putting those to https which may or may not be s...
hoolio
Cirrostratus
Apr 21, 2008Here is an example:
when HTTP_REQUEST {
Check if requested domain is mydomain.com
if {[string tolower [HTTP::host]] eq mydomain.com}{
Redirect client to https
HTTP::redirect https://mydomain.com[HTTP::uri]
}
}Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
