Forum Discussion
joyride_us_4669
Nimbostratus
Sep 29, 2011SSL profile change on URL
thanks
9 Replies
Sort By
- hoolio
Cirrostratus
Hi, - joyride_us_4669
Nimbostratus
Y4es : how to ? :) - joyride_us_4669
Nimbostratus
Yes it definitely works. thakns anyway! :) - joyride_us_4669
Nimbostratus
There was a trick to it though : I had to add a RULE_INIT to reset my global variable... - hoolio
Cirrostratus
Did you use SSL::profile? - joyride_us_4669
Nimbostratus
Yes but differently. I can post my iRules if you wish. I actually have 2 iRules : the 1st one upon HTTP_REQUEST, captures the URL, sets it in a global variable and picks the pool accordingly. The 2nd, upon CLIENT-ACCEPT uses the global variable to select the SSL_PROFILE. - hoolio
Cirrostratus
I think you'd want to use a local variable instead of a global. A global variable would be read and changed by any connection. So you'd have conflicts if multiple client connections occur at the same time. - joyride_us_4669
Nimbostratus
Ok but will a local variable be kept across multiple iRule statements (I never managed to define it in an HTTP-REQUEST and use it in a CLIENT-ACCEPTED tight after : it refused to recognize the local variable), which I need... - hoolio
Cirrostratus
A local variable is accessible from any iRule on the same TCP connection. If you want to store a variable across TCP connections, you can use a subtable:
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