Forum Discussion
Geoff_Littlewoo
Nimbostratus
Sep 18, 2014Rewrite http header to https and change the URI same time
I have a need to write an iRule to firstly force connection from a http to https and also change the URL . I have 4 VIP's 1 for www traffic with a simple "https://[HTTP::host][HTTP::uri]" to force t...
JRahm
Admin
Sep 18, 2014Are you needing rewrites or redirects? I'm not quite sure from reading through the posts. Rewrites will only impact what happens behind the BIG-IP. Redirects will impact what the client sees. Assuming redirects, if both sites have valid certificates, a redirect won't throw ssl errors. Why not redirect from the original port 80 to the new port 443?
port 80 original virtual server
when HTTP_REQUEST {
HTTP::redirect https://test2.mydomain.com[HTTP::uri]
}
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