Forum Discussion
neeraj_66310
Dec 13, 2007Nimbostratus
Dear Joe,
Thanks for your help. Sorry ,as I have not described the requirement exactly.
let me describe the requirement in details as below:--
user make request for one of 3 urls as below:--
1)http://main.test.com/abc/jhk
2)http://main.test.com/first.test.com/jui/yui/opi
3)http://main.test.com/second.test.com/juy/lok.kip
We need to create irule to fulfill below 3 requiremnent using one Irule:--
1)If uri contain first.test.com, then Big IP LTM should remove main.test.com from url i.e. make it
http://first.test.com//jui/yui/opi and send request to pool_first(pool name)
2)If uri contain second.test.com, then Big IP LTM should remove main.test.com from url i.e. make it
http://second.test.com/juy/lok.kip and send request to pool_second
(pool name)
3)else (otherwise) it should send request to poolmain
(pool name)
I think irule suggested by you is stripping everything after fist.test.comin in 2) option and stripping everything after second.test.com in 3) option.
Kindly modify the Irule for described request.
Thanks