Forum Discussion
Alexis_Bykov_13
Nimbostratus
Nov 27, 2013How-to include IP address(es) of some balanced Web Servers into HTTP Header?
What iRules I will use to include information about IP address(es) of some balanced Web Servers into HTTP Header?
Thomas_Gobet
Nimbostratus
Nov 27, 2013You can create a data group with all servers for which you want to insert this information.
Then when your data group is created, your iRule will be :
when HTTP_RESPONSE {
if { [class match [IP::server_addr] equals my_ip_datagroup] } {
HTTP::header insert Server_IP "[IP::server_addr]:[TCP::server_port]"
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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