Forum Discussion
yoni_100721
Nimbostratus
May 12, 2015Passing a variable through an iRule
How can I pass the $domain variable to the portion when CLIENTSSL_CLIENTCERT is running?
Most of my work is being done during CLIENTSSL_CLIENTCERT but I would like to import the HTTP::host value.
...
Michael_Jenkins
Cirrostratus
May 12, 2015Well, using
:: denotes a global variable, which you wouldn't want because it's not specific to your current request/session.
On a broader note, if you take a look at this page, part way down where the flowchart is, you can see that the
CLIENTSSL_CLIENTCERT event happens before the HTTP_REQUEST event, so you won't be able to get the hostname prior to that event.
You might check out TLS Server Name Indication if you really want the domain in that section. Haven't played with it, but it might be worth a look.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
