Forum Discussion
Jason_Miller_41
Nimbostratus
Apr 03, 2006Detecting if the ceonnection is secure or not
Hi,
I'm trying to write an iRule that only run if the connection was made thru the SSL proxy.
Here is the rule set that is currently running:
if (http_uri starts_with "/SpecialPath") {
use pool PoolB
}
else if (http_uri ends_with one of images) {
use pool WWWImgPool
}
else {
use pool WWWServers
}
I want the first rule to only run if the user has contacted the server via a secure connection. I'm note sure how to detect that the ceonnection was secure or not.
Thanks
- Jason_Miller_41
Nimbostratus
Does any one have any ideas? - Martin_MachacekHistoric F5 AccountJason,
virtual :80 { use rule insecure_conn } virtual 127.1.1.80:80 { use rule secure_conn } proxy :443 { target virtual 127.1.1.80:80 clientssl enable ... }
redirect to "https://%h/%u"
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