Can you list out the logic for what should be redirected to a new URL, what should be sent to a pool and what if anything you want rewritten as before the request is sent to the pool? If you can include the Host and/or URI checks you want to use, we can provide some more examples.
In general, you can get the host value using HTTP::host, you can get the URI using HTTP::uri, you can issue a redirect using HTTP::redirect, and you can specify a pool using the pool command.
The wiki pages have more detail on the commands (
Click here).
Aaron