Forum Discussion

AnupamG_354580's avatar
AnupamG_354580
Icon for Nimbostratus rankNimbostratus
Jul 11, 2018

irule for specific port number for specific request in uri

I have a VIP test_10.120.140.150 with IP 10.120.140.150 listening on port 80 The URL is sheamtest.local

 

and backends are listening on port 8003 . Round Robin . Persistence 90 mins

 

Pool members 10.120.192.122 10.120.192.133 . Pool name is Sheam-test-pool

 

The setup is working fine. Now a requirement > on same backend servers another service on port 8080 is configured .

 

requirment

 

if request comes for sheamtest/tomcat is goes to server on 8080 if request comes for sheamtest/* it goes to 8003

 

Can we achieve this via irule