Forum Discussion
What is this simple irule doing?
Can anyone interpret this irule for me? It is putting itself as the first irule in the list regardless of where I place it in priority and this is causing my maintenance page irule to not work properly.
I'm wondering what it does and if it is even necessary. This currently resides on a VIP listening on port 443, there is a VIP of the same IP listening on port 80 and doing a 443 redirect.
when HTTP_REQUEST {
HTTP::header insert HttpsIndicatorHeader True
}
Thanks!
- Lee_Sutcliffe
Nacreous
This will insert a header called "HttpsIndicatorHeader" with a value of "True"
Further reading: https://devcentral.f5.com/wiki/iRules.http__header.ashx
If you want your iRules to execute in a specific order, use priority as descried here https://devcentral.f5.com/wiki/iRules.priority.ashx
As to why you need to insert a header, that's something that can be only answered with knowledge about your environment or application
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