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 220.127.116.11:443 NODE- 18.104.22.168:80
backend server to VIP - http://22.214.171.124:80/index.html
VIP to Client - http://126.96.36.199: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.
This is SSL Offloading, I dont see why you need an Irule here. Share us your VS setup completely.
If you need to rewrite URLs, your better way is via HTTP Profile.
Please take a look the following:
K14775: Configuring an HTTP profile to rewrite URLs so that redirects from an HTTP server specify the HTTPS protocol (10.x, 11.x, and 12.x)