Forum Discussion
JMeyer_44695
Nimbostratus
12 years agoHow 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.
- 12 years ago
when HTTP_REQUEST { HTTP::respond 301 Location "http://[getfield [HTTP::host] : 1][HTTP::uri]" }
Richard__Harlan
12 years agoHistoric F5 Account
when HTTP_REQUEST {
HTTP::respond 301 Location "http://[getfield [HTTP::host] : 1][HTTP::uri]"
}
- JMeyer_4469512 years ago
Nimbostratus
This works. Thank you.
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