Forum Discussion
bluestar007_339
Nimbostratus
Dec 03, 2017irule help
1 ) when HTTP_REQUEST {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
2)
when HTTP_REQUEST {
STREAM::disable
log local0. "Stream disable request"
HTTP::header remove Accept-Encodi...
Andy_McGrath
Cumulonimbus
Dec 03, 2017-
Simple redirect from http to https while keeping original requested host and uri.
-
In the request removes a header named Accept-Encoding. In the response if header named Content-Type contains the string “text” in it enables stream to replace all http:// with https:// in the HTTP payload.
Stream is a basic search and replace, the expression is @find@replace@ and you can have multiple if required.
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
