Forum Discussion
Nader_125543
Nimbostratus
Nov 19, 2013iControl related to traffic flow and iRule applied
I have design and tested an iRule, now I need some help to apply the iRule to given VIP based on resource pool availability, in addition I like to terminate the HTTPS traffic on the same VIP as suppo...
What_Lies_Bene1
Cirrostratus
Nov 22, 2013So, you need to use a standard Virtual Server with the required SSL profile and HTTP profile assigned and then yes, something very like what you've suggested;
when CLIENT_ACCEPTED {
If the Pool is up, pass it through and disable HTTP and SSL
if { [active_members pool_name] > 0 } {
SSL::disable
HTTP::disable
}
If the Pool is down, do nothing and SSL will be terminated and the
HTTP_REQUEST event will fire and display the maint. page
else {
Do nothing
}
}
when HTTP_REQUEST { ... << display the maintenance page >> }
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