I’ve been playing around with the virtual command and testing it with cURL. The test results shows a HTTP/1.1 302 Moved Temporarily. Is this correct behavior? Does the virtual command issue a 302? If so, what command can be used to (global or allowed under the HTTP_RESPONSE event) allow a forward to another virtual server without a 302 or choose a different pool?
As natty said, the 302 is coming from the web server. You could confirm this by making the same HTTP request to directly to the pool member instead of the first VIP.
Thanks for confirming that the virtual command does not do a 302 to accomplish its routing guys. natty, you responded to workday-pmiller RE this topic. The iRule he uses (using the virtual command in the HTTP_RESPONSE) seems to be yielding a 302 moved temp, but I am waiting for workday-pmiller to verify that the 302 is not coming from the target virtual servers the virtual command points to.