KT_271103
Sep 22, 2016Nimbostratus
irule explaination
Can anyone explain below irule code
when HTTP_REQUEST {
HTTP::header insert AMG_HTTPS_STATE "off"
}
This will insert a header named AMG_HTTPS_STATE with value "off" to the clients's http request going to server through the BIG-IP.
 
"Inserts the named HTTP header(s) and value(s) onto the end of the HTTP request or response."
 
Easiest way to get this kind of info is to search iRules wiki. It contains general and also more detailed information on iRules, usage, commands, syntax etc. iRules use TCL (Tool Control Language). See https://clouddocs.f5.com/api/irules/HomePage.html.
 
From devcentral posts you can get more specific help/advice when you encounter tricky situations.