Forum Discussion
Geoff_34657
Nimbostratus
Feb 09, 2011HTTPS to HTTP
Hello,
I am trying to redirect a HTTPS request to a HTTP server. We have been using the following Irule to redirect users from HTTP to HTTPS for awhile but, a new system going in place people occaisionally type the https:// instead of http://. We have setup 2 virtual servers one for port 80 and one for port 443. I need the 443 to redirect to the 80. I have been searching the forums but, I can't seem to find a reference to someone trying to accomplish this. Any help would be greatly appreciated.
80 to 443 irule we have in place.
when HTTP_REQUEST {
Redirects all HTTP to HTTPS keeps URI intact
HTTP::redirect ]
}
- Chris_Miller
Altostratus
The rule would be exactly the same, just with "HTTP::redirect http://[HTTP::host][HTTP::uri]" instead. Of course, you'll need a client ssl profile on your HTTPS VIP so you can view the request and send the redirect. - Geoff_34657
Nimbostratus
Thanks. That was the part that was missing the ssl profile.
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