Forum Discussion

keenon_49862's avatar
keenon_49862
Icon for Nimbostratus rankNimbostratus
Feb 10, 2014

header rewrite/insert

I have been trying to find something to rewrite or insert a host header.

 

back drop we have iis servers that run websites/applications on some it is looking for a specific header in order to send you to the correct website. This however is an issue when trying to test the virtual server that is being moved to a new ip range or for the monitoring of websites that may reside on the server. any help is greatly appreciated.

 

2 Replies

  • Have you tried replacing the HTTP Host header in an iRule?

    when HTTP_REQUEST {
        HTTP::header replace Host "foo.example.com"
    }
    
  • Have you just used the default on the HTTP Profile? I'd think it would be less overhead than an iRule.