Forum Discussion
joyride_us_4669
Sep 29, 2011Nimbostratus
SSL profile change on URL
thanks
- hooleylistCirrostratusHi,
- joyride_us_4669NimbostratusY4es : how to ? :)
- joyride_us_4669NimbostratusYes it definitely works. thakns anyway! :)
- joyride_us_4669NimbostratusThere was a trick to it though : I had to add a RULE_INIT to reset my global variable...
- hooleylistCirrostratusDid you use SSL::profile?
- joyride_us_4669NimbostratusYes 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.
- hooleylistCirrostratusI 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_4669NimbostratusOk 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...
- hooleylistCirrostratusA 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