I was feeling pretty good with my little irule that, depending on the first few letters of the uri would switch pools:
when HTTP_REQUEST { Check the requested path with wildcard matching switch -glob [HTTP::path] { “/rradmin*” { /rradmin URI log local0. “[IP::remote_addr]: Request for /rradmin sent to pool pool_rradmin_ecms.gov_new_443” pool pool_rradmin_ecms.epa.gov_443
…and so on. had a few other ones, erma*, etc…NOW they want actual redirects. what I dont understand is, how can I do a redirect like:
wont this bypass the ltm basically? its not going to send it to a pool. IM pretty sure IM missing a big concept here, and Ill keep reading, but if someone could whack hit me in the right direction, it would help.
If the IP-address of ecms.epa.gov is routed through the BIG-IP (i.e. a VIP) it doesn’t matter what path is used; all requests will be handled by that VIP.
Redirects are directives that tell the client (usually a web browser) to try the request at a different URL. If it’s using the same domain name it will likely be handled by the same VIP.