Forum Discussion

John_45559's avatar
John_45559
Icon for Nimbostratus rankNimbostratus
Jun 11, 2010

http post header modification method

New at this, not sure of the correct method on the F5 LTM. Scouring documentation did not give me a direct answer. I am thinking http profile or htttp class profile We are load balancing across 2 servers (one pool). When sending http posts to the vip, the request is sent to the vip but when the F5 sends the request to the member the POST header retains the vip ip and resultant 302 from the pool members. We are on 9.4. Apparently the header needs to modified to reflect the pool member that is active in the pool. Thanks..

 

4 Replies

  • What Persistence are you using?

     

     

    HTTP Cookie Insert: Specifies that the system inserts server information, in the form of a cookie, into the header of the server response. This is the default setting.
  • Hi John,

     

     

    Can you clarify what the issue is?

     

     

    Is it that the web app doesn't recognize the HTTP host header in requests because the request is being made to the virtual server IP address? If so, does the failure still occur if the client accesses the VS using a hostname? What hostname(s) does the application expect? Is the required value specific to the individual

     

     

    Or is the issue that the servers are sending a redirect with the wrong IP address or hostname in the Location header?

     

     

    Aaron
  • Cookie persistance.

     

     

    Looking into this further using an a known good vip and pool now I am puzzled as what the problem is. Switching pools and sending a soap envelope through this vip work fine. Switching pools back to the problem pool sending a different soap envelope intended for these members ends up in a redirect.

     

     

    Sending a soap envelop to the F5 vip the endpoint (pool member)will respond with a 302 from the endpoint (pool member)that the address has moved to the to the VIP.

     

     

    We are using SOAPUI for test and sending the same envelope directly to the server it works fine which makes me think the F5 configuration, but the F5 is indeed sending the request to the pool member. I guess the question is when using soapui and sending the request to the server it works, but sending to the VIP the endpoint redirects back to the VIP (whats the difference). I been still looking at traces all day but don't see what is tripping this up.

     

     

    Thanks again for the help..

     

     

     

     

     

     

     

     

     

  • Sorry for not explaining the issue very well, as side note I think the problem is due to apache rewrite rules in the httpd.conf in the endpoint for the virtual server (apache), hence the redirect ...