Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

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

0
Rate this Question
Comments on this Question
Comment made 18-Aug-2017 by jaikumar_f5 1929

This is SSL Offloading, I dont see why you need an Irule here. Share us your VS setup completely.

0

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Hi,

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)

0