Forum Discussion
Tom_Lebel_53961
Nimbostratus
Mar 16, 2007chnage pools and stick to it
I have an iRule that looks at the URI and makes a pool swap if the URI contains a certain text string.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
*altweb
{ pool IASTestALTWEBPool }
default
{ pool IASTestPool }
}
}I am needing to do this because I have 2 instances of a server on one URL, one at port 80, the second at port 7777.
I need those trying to access the ALTWEB to go to the port 7777 web. Problem is, when it hits the Apache, the Apache redirects to /sometext/ALTWEB, and the iRule isn't handling this as I thought is should.
Any thoughts on what might be happening?
TL
No RepliesBe the first to reply
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