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...
Colin_Walker_12
Apr 21, 2008Historic F5 Account
You can also use a similar rule to trigger re-writes from the server to the client:
when HTTP_RESPONSE {
Check if requested domain is mydomain.com
if {[string tolower [HTTP::host]] eq mydomain.com}{
Redirect client to https
STREAM::expression "@http@https@"
STREAM::enable
}
}HTH,
Colin
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
