Forum Discussion
Landono
Nimbostratus
Sep 04, 2014SSL Serverside Not Being Disabled Correctly
Currently we have an iRule that selects the pool based on the URL path. Some pools accept SSL while others do not. In the IF statement (which is in the HTTP_REQUEST event block), if the traffic is fo...
Kevin_Stewart
Employee
Sep 04, 2014Maybe some additional logging is in order:
when CLIENT_ACCEPTED {
set default_pool [LB::server pool]
log local0. "default pool is $default_pool"
}
when HTTP_REQUEST {
log local0. "incoming uri: [HTTP::uri]"
HTTP::header insert "X-Forwarded-Proto" "https"
if { [string tolower [HTTP::uri]] starts_with "/foo" } {
log local0. "sending to foo pool"
pool pool_foo_https
} elseif { [string tolower [HTTP::uri]] starts_with "/bar" } {
log local0. "sending to bar pool"
pool pool_bar_http
SSL::disable serverside
} else {
log local0. "sending to default pool"
pool $default_pool
SSL::disable serverside
}
}
In this case you may also want to enable OneConnect.
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