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...
RickM
Nimbostratus
Sep 16, 2013I have 4 pools, 2 are set up for round-robin, the other 2 have the same servers but use priority activation so only one is active at a time. This wiki markup is killing me, I don't have the patience for this junk today...
IRULE
Select non-loadbalanced pool or loadbalanced pool
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
}
} else {
select load balanced pool
if { [TCP::local_port] equals "443" } {
pool lb-https
} else {
pool lb-http
}}}
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