Forum Discussion
Ravi_Rajan_7549
Nimbostratus
Apr 08, 2008HTTP to HTTPS redirect
Hi,
I want to have an irule to redirect all incoming traffic from http to https, host and the URI remaining the same.
I browsed through the forum and could not find the above. Please help in this.
Regards,
Ravi
- The_Bhattman
Nimbostratus
Here is an example. You apply this on VIP on port 80. This is assuming you have the same VIP on port 443when HTTP_REQUEST { HTTP::redirect "https://domain.com[HTTP::uri]" }
- Girish_HS_32793
Nimbostratus
Posted By ravi.rajan on 04/07/2008 9:17 PM
- Colin_Walker_12Historic F5 AccountIs there a reason you re-posted the original post as a quote? Did I miss something?
- Ravi_Rajan_7549
Nimbostratus
Thanks all, - Ravi_Rajan_7549
Nimbostratus
Hi, - Nicolas_Menant
Employee
Hi,set first_part [getfield [HTTP::uri] "/" 2] log local0. "first part is $first_part"
- Ravi_Rajan_7549
Nimbostratus
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