Forum Discussion
khope007_214548
Nimbostratus
Aug 06, 2015Unable to match uri pattern in a http's' request
I have the following iRule setup which allows me to request a pool based on uri.
when HTTP_REQUEST {
Grab destination URI
set URI [string tolower [HTTP::uri]]
if { [class match $URI start...
Kevin_Stewart
Employee
Aug 06, 2015The trick here is that you have to apply a server SSL profile to the VIP and then remove it for requests that don't need it. So something like this:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/site1" } {
pool site1-pool
SSL::disable serverside
} elseif { [HTTP::uri] starts_with "/site2" } {
pool site2-pool
}
}
There are some other examples in the SSL::disable wiki 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