Forum Discussion
neeraj_66310
Nimbostratus
Dec 13, 2007I need to remove host from url and send it to particular pool
I am novice for creating irule, Kindly help me out for below requirement:--
user make request for one of 3 urls as below:--
1)http://main.test.com
2)http://main.test.com/first.test...
neeraj_66310
Nimbostratus
Dec 13, 2007Dear 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
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects