Forum Discussion
Duncan_23609
Nimbostratus
Jan 23, 2008URI redirect to specific pool
Apologies in advance if this has been asked 100 times already....
I would like to redirect requests for a specific script or perhaps folder to a specific pool because of some load generated by this script.
For example, I would like to have requests for this page
http://example.com/sampler/qpercent.phtml
redirected to
pool_limited
and if not it goes to the default pool for that virtual server.
Is there any examples of this?
Thanks
1 Reply
- Danielseyoum
Altostratus
when HTTP_REQUEST {
if {[HTTP::uri] == "/sampler/qpercent.phtml"}{
pool pool_limited
}
else {
pool %pool_name%
}
}
Replace %pool_name% with the default pool name you want to use......
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