Forum Discussion

Marc_zw_57558's avatar
Marc_zw_57558
Icon for Nimbostratus rankNimbostratus
Feb 03, 2010

Remove port from member server response

Hi guys,

 

 

I have a virtual server that is using client SSL and server SSL profiles. Clients connect to the virtual server on 443 and the connection is then proxied to the member servers on 4443. The problem is that the member servers are returning ":4443" in their responses to client requests which is breaking subsequent communication.

 

 

How do you write an iRule to remove the port number from the response when the traffic between the member server and the LTM is encrypted?

 

 

Thanks

 

 

Marc

1 Reply

  • Hi Marc,

     

     

    Here is a close example for this:

     

     

    RewriteHTTPRedirectPort - Removes the server's port from the Location header in server-set redirects

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/RewriteHTTPRedirectPort.html

     

     

    Aaron