Forum Discussion
zhaleh_329474
Jul 27, 2018Nimbostratus
Http 301 and version Http 1.1
Hello
I want to redirect http to https with response status code 301 and http version 1.1
Id rather perform this with policy than irule...if its possible ...and if not how can i use irule in this cas...
Jul 27, 2018
This works for me:
when HTTP_REQUEST {
HTTP::respond 301 -version 1.1 Location https://[getfield [HTTP::host] : "1"][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