Forum Discussion
Rich_79422
Nimbostratus
Oct 28, 2010http request inside https
Good morning,
I'm new to the Irule creation. I have a specific option I need to accomplish.
First I have 2 VS, 1 is http and this is just to redirect to the https vs.
We are terminating the cert on the F5. After the ssl session is established the client will select a link that we are getting an error (No response from the server) for an http request. If the session is established with http all works well.
Can I create a 1 VS that will redirect to https and have an irule that will allow just that specific url to pass via http?
Thx
-Rich
- The_Bhattman
Nimbostratus
Hi Rich,when HTTP_REQUEST { if { ![HTTP::host] eq "domain.com" } { HTTP::redirect https://[HTTP::host]/[HTTP::uri]" }
- hoolio
Cirrostratus
Hi Rich,when HTTP_REQUEST { if { !([HTTP::host] eq "domain.com") } { HTTP::redirect "https://[HTTP::host]/[HTTP::uri]" } }
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