Forum Discussion

mcorvalan_57694's avatar
Icon for Nimbostratus rankNimbostratus
Aug 26, 2011

Is it possible insert an HTTP_HEADER with the vip name into the htpp_request?

Hi All.


I send this post to ask you is it possible insert an HTTP_HEADER with the vs name into the htpp_request?


basically I need to insert the a header to the resquest that has the Vs name in the F5.


Since now thanks alot.




4 Replies

  • I don't really understand why you would want to, but I am sure you could.



    Here is the Wiki Entry for HTTP::header:




    Here is a Tech Tip that discusses manipulating Host Headers and Host Header Data:



  • This is very useful for me, but I ask another question.


    Is there some option to put as header value the vs's name (we use the same irule for many vs)? we need to use these for our internal analitics
  • I think you should be able to use this in a custom HTTP profile that you apply to any VS you want the VS name inserted for:



    virtual_name: [virtual name]



    Just update virtual_name to the name of the header you want to use.



  • Maybe you are looking for something like:


    HTTP:: header insert X-MyCoolHeaderName [virtual name]