Forum Discussion
James_Michalak_
Nimbostratus
Aug 21, 2006Determine if Client Request is 'https'
I'm trying to determine if a request made to a virtual server on a bigIP was made using the https protocol. I've went down several different avenues to obtain this information. I've tried looking in...
James_Michalak_
Nimbostratus
Aug 21, 2006It worked perfectly. Thank you citizen!!
if {[catch {PROFILE::clientssl mode}] == 0} {
log local0. "is SSL"
HTTP::redirect "https://[HTTP::host]/"
}
else {
log local0. "not SSL"
HTTP::redirect "http://[HTTP::host]/"
}
This is part of an iRule we were using when our maintenance page is up. Thank you for the quick response!!
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
