irule for xml content based parsing
Hi,
I need help for creating an irule.
Requirement: 1. Content type should be content-type: text/xml 2. When a user hits a URL with request it should land the request on ABC servers, and when user hits a URL with request it should land the request on XYZ servers.
So when i say request what it means is user is sending some request in xml format and it contains . . . , so if the request is coming from this with this content then it should go to ABC server only.
i followed couple of blogs but i not sure if those are helpful or not.
https://devcentral.f5.com/questions/irule-for-handling-xml-and-html-requests-61135 https://devcentral.f5.com/wiki/iRules.XML_CONTENT_BASED_ROUTING.ashx
So can i achieve this with irule or any other methods i need to use? Not much familiar with irule, so suggestions are greatly appreciated here.
Thanks,