Forum Discussion

Lisa_Backer_107's avatar
Lisa_Backer_107
Icon for Nimbostratus rankNimbostratus
Apr 21, 2006

Need help understanding http_content

Hello,

 

 

I currently have a process to manually take "down" the website (indicate that the site should be unavailable for maintenance and then redirect all traffic to a down message rather than to the page requested). I would like to have BipIP handle this if possible. Can iRules detect anything in the HTTP response (content or headers) and perform actions based on that or can it only do things based on the HTTP request? Looks like http_content should be a promising variable (but not if its only looking at the content of the request).

 

 

Thanks for helping me as I begin to understand BipIP better.

 

 

Lisa
  • Martin_Machacek's avatar
    Martin_Machacek
    Historic F5 Account
    Lisa,

     

     

    BIG-IP version 4.x does not allow http_content checks on responses. Responses are not being parsed at all (with exception of data necessary in order to detect end of response).

     

     

    You may be able to implement your desired behavior by using HTTP monitor with extended contect verification (ECV). HTTP monitors allow to parse server responses and declare nodes up and down based on content. In combination with fallback URL configured on a pool, it may provide just what you need. Please refer to relevant sections in the BIG-IP Reference guide available on line at:

     

     

    Monitors - ECV: Click here

     

     

    Fallback URL: Click here

     

     

    You may also want to take a look at iControl.