URI 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

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…