Forum Discussion
Blake_Traister2
Nimbostratus
Apr 08, 2009Choose pool based on URL (filename extension)
I have built 3 pools and need to choose the pool on the following criteria:
Port Redirection
IF (URL == /.asp) || (URL == /.css) || (URL == /.aspjs) || (URL == /.htc) || (URL == ...
c_p_i_o_17707
Apr 08, 2009Historic F5 Account
1. You can use a "switch" statement to instead of "if/else" to make it cleaner. It seems like 6002 pool would probably be under the default statement.
2. You can make use of the "LB::Status" command to redirect to a different "pool" if all 3 pools are down.
OR
3. You can use "HTTP::redirect" if it makes sense in your env.
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