Forum Discussion
Brian_Dantzig
Nimbostratus
Aug 28, 2009Selectivly send requests to encrypted or non-encrypted pools
I have a web page that populates a framset with objects from two different pools. One is an encrypted (ssl) connection and the other is unencrypted.
My virtual server has both client ssl and server ssl profiles. The default pool is set to the pool with the encrypted servers.
It appears that once the ssl is disabled for the unencrypted server, it also turns off ssl for the encrypted server.
.
when HTTP_REQUEST {
if { ([HTTP::path] starts_with "/irj") } {
pool test-pool
}
}
when SERVER_CONNECTED {
if {[LB::server pool] == "test-pool"} {
{SSL::disable}
}
}
- hoolio
Cirrostratus
You could explicitly add a default case to the iRule or add a OneConnect profile to the virtual server to prevent this.when CLIENT_ACCEPTED { Save default pool name set default_pool [LB::server pool] } when HTTP_REQUEST { if { ([HTTP::path] starts_with "/irj") } { pool test-pool } else { pool $default_pool } } when SERVER_CONNECTED { if {[LB::server pool] eq "test-pool"} { SSL::disable } }
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