Forum Discussion
Faaiz_28768
Feb 14, 2011Nimbostratus
BIGIP-LTM-Version-9.4.8:irule to extract username from HTTP request
I am running a Virtual Server having 5 pool members (Oracle Application Server using HTTP) in round robin fashion.
Currently, i am logging the clients that hits to my virtu...
Faaiz_28768
Feb 17, 2011Nimbostratus
Dear hoolie,
Thanks for the link. I vistied this link (http://devcentral.f5.com/wiki/default.aspx/iRules/parse_username_from_http_requests_rule.html ) earlier. Upon your referring, i revisited and got a few hints that helped me to resolve my issue.
Yes, application prompts for the username and i did exactly as you highlighted and got the solution. Following is my iRule
when HTTP_REQUEST {
if {[HTTP::method] eq "POST" && ([HTTP::payload] contains "j_username") } {log local0. "HTTP User/Pass: [HTTP::payload] FROM {Client IP:[IP::client_addr]} "}
}
Thanks for the Chris as well.
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