Forum Discussion
Eric_Stuhl_2806
Nimbostratus
Apr 13, 2006Question about creating iRules
Hello,
I aplogize if this topic has been covered in the past, but I did a cursory search of the forum and couldn't find something to help me find an answer.
In my environment...
Eric_Stuhl_2806
Nimbostratus
Apr 14, 2006I'm back.
When I thought things were working correctly I must have been sorely mistaken. For reference, I offer my latest iteration of the irule:
when CLIENT_ACCEPTED {
set ckname NETWORK_ALIAS
if { [matchclass $::Atlas_Subnet equals [IP::client_addr] ] } {
set ckvalue ATLAS
} else {
set ckvalue [IP::client_addr]
}
}
when HTTP_REQUEST {
HTTP::header insert $ckname $ckvalue
log local0. "$ckname $ckvalue"
}
I see the log entries with the correct values, but I never get a response from my JBoss servers. When I remove the rule, everything works fine, so I'm assuming I must have made some sort of mistake.
Am I leaving something out? I've tested various log statements to prove that I'm only going through the conditional statement once and only hitting one branch, so I'm pretty sure that's not at fault.
EDIT:: Disregard, Java developers were playing with JBoss and forgot to let me know.
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