Forum Discussion
Drew_123833
Nimbostratus
Sep 16, 2013Exclude subfolder from loadbalancing
Goodafternoon folks
How can I exclude a subfolder from loadbalancing?
Website: testsite.com (just example, because website is not public available)
Adminmodule: testsite.com/admin/login.asp...
Kevin_Stewart
Employee
Sep 17, 2013Rickmmcl, you're on the right track I think, but you need to enable or disable a server SSL profile if you're going between HTTP and HTTPS pools. Add a server SSL profile to your VIP and an iRule like this:
when HTTP_REQUEST {
if { [string tolower [HTTP::path]] starts_with "/path-not-loadbalanced/" } {
select proper non-loadbalanced pool
if { [TCP::local_port] equals "443" } {
pool nlb-https
} else {
pool nlb-http
SSL::disable serverside
}
} else {
select load balanced pool
if { [TCP::local_port] equals "443" } {
pool lb-https
} else {
pool lb-http
SSL::disable serverside
}
}
}
And you should probably add a OneConnect profile as well.
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