Forum Discussion
dsnaithd_104244
Nimbostratus
Jan 25, 2010newbie Q regarding V10, custom log headers and SSL
Hi all,
I apologise in advance for a newbie question as I have little experience in this area, however I can't find the answer I'm looking for. I think what I need to do is pretty straightforward.
I have an ssl virtual server set to terminate and forward to a pool of weblogic instances ( just tcp port 8001 on a 2 server pool ). This part works without issue.
What I want to do is preserve the client ip using the custom weblogic header - WL-Proxy-Client-IP.
So I add an irule ( shamelessly copied from a post on here - thanks ! )
when HTTP_REQUEST {
HTTP::header insert WL-Proxy-Client-IP [IP::client_addr]
}
The question is - where do I apply the rule ? Is it correct to add an http profile to the ssl virtual server and apply the irule there ?
TIA,
Dave
- hoolio
Cirrostratus
Hi Dave, - dsnaithd_104244
Nimbostratus
Aaron, - hoolio
Cirrostratus
Hi Dave,when HTTP_REQUEST { Log the WL-Proxy-Client-IP header value log local0. "WL-Proxy-Client-IP value: [HTTP::header value WL-Proxy-Client-IP]" }
- dsnaithd_104244
Nimbostratus
Thanks Aaron - fyi I can verify the header is being written, so off to the weblogic config we go.
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