Forum Discussion
Julian_Grunnell
Nimbostratus
Jan 09, 2007Specific HTTP to HTTPS redirect
Hi - can someone please help with an iRule I need to do the following please. I have a single HTTP pool and 2 VIPS, one for HTTP and one for HTTPS traffic. The HTTPS VIP does clientssl / SSL termination so only clear text traffic is passed to the pool. I would like an iRule that always redirects a request for http://domain/contactus.aspx to goto https://domain/contactus.aspx. All other parts of the site are just port 80.
I've tried some of the HTTP to HTTPS iRules but they don't really seem to fit the bill here.
Thanks in advance - Julian.
1 Reply
Sort By
- hoolio
Cirrostratus
Hello,when HTTP_REQUEST { if { [HTTP::uri] == "/contactus.aspx" }{ HTTP::redirect "https://[HTTP::host]/contactus.aspx" } }
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