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, 2014You should absolutely be able to use SSL::disable serverside in the HTTP_REQUEST event. You may alternatively want to adjust how you're filtering on the URIs, and/or investigate if these URIs are consistent.
when CLIENT_ACCEPTED {
set default_pool [LB::server pool]
}
when HTTP_REQUEST {
HTTP::header insert "X-Forwarded-Proto" "https"
if { [string tolower [HTTP::uri]] starts_with "/foo" } {
pool pool_foo_https
} elseif { [string tolower [HTTP::uri]] starts_with "/bar" } {
pool pool_bar_http
SSL::disable serverside
} else {
pool $default_pool
SSL::disable serverside
}
}
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