Dawn_Hughes_208
Mar 23, 2012Nimbostratus
URI rewrite and pool with port redirection
I am really new to iRules and am hoping you experts can assist. We have a URL http://myurl that needs to go to two load-balanced packend URLs on different ports:
https://server1:8443/path/newuri?NAME=Item
https://server2:8443/path/newuri?NAME=Item
I first tried adding a pool with the two hosts and new ports, then tried writing a simple iRule with a uri rewrite to append the info on the end. When I check the local logs, I can see that it did the rewrite, but either it ignored the pool, or is not passing th euri to the pool members, because it is not working. I have tried removing the pool and trying to do both the uri rewrite and then select the pool on the iRule, but it does not like that either.
Does anyone have any suggestions on how I can accomplish this? Help would be most greatly appreciated