Forum Discussion
Luke_Lehman
Employee
Oct 04, 2006Header Insert
Need helping finding info relating to header inserts. This was working fine in v4 with the following syntax:
ClientIP:${client_addr}
Since we migrated over to v9.2 it is not worki...
Oct 04, 2006
You can checkout the HTTP::header documentation in the wiki for manipulating headers.http://devcentral.f5.com/wiki/default.aspx/iRules.http__headerClick here
Specifically if you want to add the client address to a header going to the destination server, you can do so like this:
when HTTP_REQUEST {
HTTP::header insert "ClientIP" [IP::client_addr]
}
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects