Forum Discussion

Richard_33825's avatar
Richard_33825
Icon for Nimbostratus rankNimbostratus
Jul 11, 2008

HTTP host header

A load balanced application, with 4 backend devices ,apparently does not like the vip DNS name placed in the host: part of the http header. The app developer states that the F5 needs to replace the vip DNS with the actual destinations name or IP in the http header. This is the request leaving the F5 toward the pool member.

 

By tricking the local WS using a hosts file edit and having DNS resolve to the specific backend host's DNS name, the service works. The 3 other backend devices were disabled for this test.

 

Can anyone help with a rule that will replace the Host: portion of a HTTP Header to match the name of the selected pool member?

2 Replies

  • Hi,

     

     

    In 4.x, you cannot modify the host header. This would be relatively easy to do in 9.x using 'HTTP::header replace Host' in the HTTP_REQUEST_SEND event.

     

     

    Can you modify the application to accept the fully qualified DNS name that resolves to the VIP or upgrade to 9.x?

     

     

    Aaron