Adrian_P
Aug 21, 2013Nimbostratus
Add a prefix before sending the request to the Pool
Hi,
Scenario :
A single VS (3.3.3.3) with two different Pool based on the URI prefix :
Pool A: the member web server 1.1.1.1 is configured on a Virtual Directory /web
Pool B: the member web server 2.2.2.2 is configured on a Virtual Directory /reports
Requirement:
Client browser must connect to the root directory of the Virtual Server and the LTM will use Pool A and add the /web prefix before sending the request to the Pool except /reports which the LTM will use Pool B and pass through the URI with no changes
Example:
- http://3.3.3.3/ <==> use Pool A <===> http://1.1.1.1/web
- http://3.3.3.3/image <==> use Pool A <===> http://1.1.1.1/web/image
- http://3.3.3.3/reports <==> use Pool B <===> http://2.2.2.2/reports
- http://3.3.3.3/reports/pdf <==> use Pool B <===> http://2.2.2.2/reports/pdf
Can someone kindly enough to build the irules that meet the requirement above ?
Many thanks in advance.
Adrian.