Forum Discussion

Thiyagu_163984's avatar
Thiyagu_163984
Icon for Nimbostratus rankNimbostratus
Aug 18, 2017

Irule help need to remove the port before sending uri to client

Hello All,

 

i am trying to remove port information before sending the uri to client from LB.

 

All I need is the insertion of port 80 in URI from the application server to LB needs to removed when the same session is traversed along to the client.

 

Could you please review the irule we applied and suggest us on the changes to meet our requirement?

 

example VIP 1.1.1.1:443 NODE- 2.2.2.2:80

 

backend server to VIP - http://2.2.2.2:80/index.html VIP to Client - http://1.1.1.1:80/index.html

 

here one the response from the VIP to client,the insertion of port 80 needs to be removed and only the URI should traverse to the client

 

i am not able to get the proper irule for this , can somebody help me on this

 

Thanks in advance. Thiyagu