Forum Discussion
irule explaination
Can anyone explain below irule code
when HTTP_REQUEST { HTTP::header insert AMG_HTTPS_STATE "off" }
2 Replies
- THi
Nimbostratus
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.
 
Hi KT,
this iRule will simply add an additional HTTP header to each HTTP request with the name
and valueAMG_HTTPS_STATE
.offCheers, Kai
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com