Forum Discussion

eric_27573's avatar
eric_27573
Icon for Nimbostratus rankNimbostratus
Nov 10, 2010

http_host modification impossible on 4.x?

Dear all,

 

 

I went through the archives and through the documentation, so this is pretty much my last resort forum to figure out whether there still is no way for this to work.

 

 

Situation:

 

 

Company uses domain a.com internally, and b.com externally. However, they don't own a.com, but their internal 3rd party enterprisy servers are set up for only working with a.com

 

 

So what I really would need is:

 

 

if (http_host equals "b.com") {

 

http_host a.com

 

}

 

 

Now I find plenty of examples showing that this works on 9.x, but it is my understanding that this does not work on 4.x. Is my understanding correct?

 

Note that F5 doesn't want to sell a new license even because the box is too old, even though the upgrade works just fine.

 

Redirect is not an option because the company does not own a.com, any other thoughts?

 

Thanks!

 

Eric

 

1 Reply

  • Hi Eric,

     

     

    I don't believe there was a way to rewrite the Host header in 4.x. I guess you could run this through an Apache box with ProxyPass:

     

     

    http://httpd.apache.org/docs/2.2/mod/mod_proxy.htmlproxypass

     

     

    Aaron