Forum Discussion
nyleb_66113
Jan 26, 2007Nimbostratus
Thanks for the clarification on the stream profile syntax. I confirmed my config matched the syntax that you provided. I did get the EA key installed and I do now have an XML profile option however it throws an error at me when I click on the create button.
I took a stab at modifying the cool iRule that scrubs SSN's.
Here's what I came up with:
when HTTP_RESPONSE_DATA {
Find the text pvineprod01 (target)
set target [regexp -all -inline -indices {pvineprod01} [HTTP::payload]]
replace the text pvineprod01 with blink.brinker.com
foreach target_idx $target {
set target_start [lindex $target_idx 0]
set target_len [expr {[lindex $target_idx 1] - $target_start + 1}]
HTTP::payload replace $target_start $target_len "blink.brinker.com"
}
}
I think the switches on the "set target" line are not correct. I visited Sourceforge to view the documentation, but I'm in a little to deep to figure this out. If there is an easier way to accomplish this, please let me know. All I really need to do is swap out the text in a server's response packet.
Thank you very much for your help,
NB