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 workin properly. Any suggestions would be appreciated.
Thanks,
Luke
- You can checkout the HTTP::header documentation in the wiki for manipulating headers.http://devcentral.f5.com/wiki/default.aspx/iRules.http__headerClick here
when HTTP_REQUEST { HTTP::header insert "ClientIP" [IP::client_addr] }
- Michael_Mau_108
Nimbostratus
Or you can create a custom HTTP profile, and add the following line as the header insert value. Which ever VIP you have the custom HTTP profile applied to, will have the client IP inserted into a header; unless it is encrypted traffic.
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