Forum Discussion

JuhaK's avatar
JuhaK
Icon for Nimbostratus rankNimbostratus
Aug 06, 2015

http profile

Hi

 

Customer asked me to create http profile where F5 sends some characters to loadbalanced servers. Server application then cheks those characters and makes own things then.

 

Never created http profiles before. I suppose quit easy to do but lots of settings to use when creating http profile. Any help for start. Which proxy mode etc. Founded setting "Request Header Insert" Is that place for those spesific characters.

 

thx juha

 

3 Replies

  • Hi Juha,

    Ask your customer to provide more detailed requirements))

    In fact it could be easily done with the following iRule:
    when HTTP_REQUEST {
    HTTP::header insert "∖$WSIS" "true"
    HTTP::header insert "∖$WSPR" "HTTP/1.1"
    HTTP::header insert "∖$WSSP" "443"
    HTTP::header insert "∖$WSRA" [getfield [IP::client_addr] % 1]
    HTTP::header insert "∖$WSRH" [getfield [IP::client_addr] % 1]
    HTTP::header insert "∖$WSSC" "https"
    }
    

    This is an example of how to make f5 to work with IBM Websphere seamlessly.

    So, this requires you to enable http profile with default setting on VS.
  • JuhaK's avatar
    JuhaK
    Icon for Nimbostratus rankNimbostratus

    Ok thx. One way is use that irule but i ment that how to do that with http profile. Customers detailed information is that they want see some detailed characters like "onlySSL" in http header. Server application reads that "onlySSL" from header and makes own things after that.

     

    JK

     

  • you could put "onlySSL" in the Request Header Insert field in the HTTP profile.