You need to keep in mind that the difference in your URLs is in the hostname component not the path. There are 2 possible solutions:
1) (assuming the all 3 hostnames resolve to unique addresses) create 3 VIPs and make VIPs servicing addresses to which
request.mycompany.com and itrequest.mycompany.com resolve redirect to itrequest.mycompany.usa.com, with following
rule:
rule redirect_to_main_url {
redirect to "http://itrequest.mycompany.usa.com" + http_uri
}
2) Make
request.mycompany.com and
itrequest.mycompany.com aliases (CNAME) for
itrequest.mycompany.usa.com in your DNS configuration and
a) either configure your backend servers to ignore the Host: header in requests (i.e. no virtual hosting)
b) using following rule on your itrequest.mycompany.usa.com VIP:
rule redirect_to_main {
if(http_host != itrequest.mycompany.usa.com) {
redirect to "http://itrequest.mycompany.usa.com" + http_uri
} else {
use pool
}
}