Forum Discussion
wixxyl_98682
Nimbostratus
Jun 05, 2014Looking to capture X-Forwarded-For on Big IP 11.2.1
Dev,
I've got some application owners that are saying they can't see the X-Forwarded-For header on their app server. They have gotten the same treatment as everyone else, X-Forwarded-For, as wel...
Sven_Leupold_85
Cirrus
Jun 05, 2014an iRule would do the job
when HTTP_REQUEST {
set LogString "Client [IP::client_addr]:[TCP::client_port] -> [HTTP::host [HTTP::uri]"
log local0. "============================================="
log local0. "$LogString (request)"
foreach aHeader [HTTP::header names] {
log local0. "$aHeader: [HTTP::header value $aHeader]"
}
log local0. "============================================="}
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