Forum Discussion
Sonny
Cirrus
May 09, 2008HTTPS Redirects
Sorry if this has already been posted. I was trying to come up with an iRule that would redirect users who do NOT have TLS checked on their browsers to a specific page on the same server or a differe...
Sonny
Cirrus
May 23, 2008Yeah, we used crafted it to this:
when HTTP_REQUEST {
if { [SSL::cipher version] == "TLSv1"} {
log local0. "client [IP::client_addr] ssl [SSL::cipher bits] version [SSL::cipher version]"
pool pool_name
} else {
Now use one of the destination commands
Either specify a pool
pool pool_tls_redirect
or to a specific node
node 10.10.10.10
or redirect to a specific URL
HTTP::redirect "http://some_address/sorry.html"
}
}
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
