Forum Discussion
integracion_s21
Nimbostratus
Jun 14, 2010Force HTTP communication
Greetings,
We have configured two virtual servers: VS_App1 : 443 & VS_App1 : 80
There is one iRule applied to both, that checks the URI and according to it, selects the corresponding pool. For ...
hoolio
Cirrostratus
Jun 14, 2010You can "hide" the SSL::disable command from the iRule parser and only use the command when the VIP port (TCP::local_port) is HTTPS and the pool is not for HTTPS:
when LB_SELECTED {
Check if the VIP port is for SSL
This could be a single port like 443 or multiple ports
switch [TCP::local_port] {
443 {
Check if server port is not SSL
if {!([LB::server port] == 443)}{
set ssl_disable_cmd "SSL::disable serverside"
eval $ssl_disable_cmd
}
}
}
}
If the exact logic isn't correct for your scenario and you want help adjusting the example, please reply with more info on when you want to disable SSL on the serverside connection.
Thanks, Aaron
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