Forum Discussion
JMeyer_44695
Nimbostratus
Nov 19, 2013How do I do an HTTPS to HTTP redirect with 301 (permanent)
Client is requesting all requests using HTTPS are redirected to same URI, but to HTTP. Redirect must be a 301.
- Nov 19, 2013
when HTTP_REQUEST { HTTP::respond 301 Location "http://[getfield [HTTP::host] : 1][HTTP::uri]" }
Richard__Harlan
Nov 19, 2013Historic F5 Account
when HTTP_REQUEST {
HTTP::respond 301 Location "http://[getfield [HTTP::host] : 1][HTTP::uri]"
}
JMeyer_44695
Nimbostratus
Nov 19, 2013This works. Thank you.
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