Forum Discussion
KJ_50941
Nimbostratus
Sep 28, 2012iRule hlep
I need to redirect from http to https , also since some users have bookmark specific port for exmaple port 8050 in their browser to be redirect to https. how do I do that.
does this works...
KJ_50941
Nimbostratus
Sep 28, 2012How about this one?
when HTTP_REQUEST {
if {[HTTP::uri] equals {http://example:8050}} {HTTP::uri {https://example.com}
} else {
HTTP::redirect https://[IP::local_addr][HTTP::uri]
}
}
}
}
Thx all
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