Forum Discussion
Luca_55898
Aug 04, 2011Nimbostratus
redirect HTTPS to HTTP
So this is backwards from most requests, but i need to redirect anything that comes to a site on HTTPS to HTTP.
Will this do it?
when HTTP_REQUEST {
if {[HTTP::uri] equals {https://www....
Luca_55898
Aug 04, 2011Nimbostratus
Yep sorry the irule would be more like the below i guess.
when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
But anyway i'll look into the classes again.
thanks!
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