Forum Discussion
Gdub_105041
Nimbostratus
Aug 24, 2010HTTPS Redirect
I am looking to do a redirect to an alternate port for SSL.
E.G.
https://www.mydomain.com:2500 (legacy) needs to redirects to https://www.mynewdomain.com
I have been reviewing all the Irules, but none state how to deal with https traffic. Note: SSL is enabled on both servers.
For Standard HTTP to HTTPS traffic, this will work.
when HTTP_REQUEST{
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
- Colin_Walker_12Historic F5 AccountIf you're looking to simply redirect traffic without inspecting it, you can use the same iRule as above, since the HTTP_REQUEST event will still fire and the redirection will work...technically. It will throw all sorts of alarm bells if the client sees the host change, especially if the back-end cert doesn't match, but that's a separate issue.
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